Retrieves a reference to the element at the specified index.

In C#, the Itemproperty is the indexer for the HeaderCollection class.

Namespace:  Microsoft.Rtc.Sip
Assembly:  ServerAgent(in ServerAgent.dll)

Syntax

Visual Basic (declaration)
Public 
Default 
Property 
Item ( _
	
index 
As 
Integer _
) 
As 

Header
	
Get
	
Set
Visual Basic (usage)
Dim 
instance 
As 

HeaderCollection
Dim 
index 
As 
Integer
Dim 
value 
As 

Header

value = instance(
index)

instance(
index) = 
value
C#
public 

Header 
this[
	
int 
index
] { 
get; 
set; }

Parameters

index
Type: System . . :: . . Int32

See also