Share via


Header.GetHeaderId Method

The GetHeaderId static method returns the HeaderId that corresponds to a header name.

Namespace:  Microsoft.Exchange.Data.Mime
Assembly:  Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)

Syntax

'Declaration
Public Shared Function GetHeaderId ( _
    name As String _
) As HeaderId
'Usage
Dim name As String
Dim returnValue As HeaderId

returnValue = Header.GetHeaderId(name)
public static HeaderId GetHeaderId(
    string name
)

Parameters

  • name
    Type: System.String
    A string that contains the name for which to return the corresponding HeaderId.