Finds the first header of the specified type.

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

Syntax

Visual Basic (declaration)
Public 
Function 
FindFirst ( _
	
type 
As 
String _
) 
As 

Header
Visual Basic (usage)
Dim 
instance 
As 

HeaderCollection
Dim 
type 
As 
String
Dim 
returnValue 
As 

Header

returnValue = instance.
FindFirst(
type)
C#
public 

Header 
FindFirst(
	
string 
type
)

Parameters

type
Type: System . . :: . . String

Return value

Type: Microsoft.Rtc.Sip . . :: . . Header

The first header of the specified type, if found, or null otherwise.

See also