Share via


Header.IsHeaderNameValid method

The IsHeaderNameValid(String) method indicates whether name is valid for this header.

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

Syntax

'Declaration
Public Shared Function IsHeaderNameValid ( _
    name As String _
) As Boolean
'Usage
Dim name As String
Dim returnValue As Boolean

returnValue = Header.IsHeaderNameValid(name)
public static bool IsHeaderNameValid(
    string name
)

Parameters

Return value

Type: System.Boolean
The IsHeaderNameValid(String) method returns true if name is valid; otherwise the method returns false.

See also

Reference

Header class

Header members

Microsoft.Exchange.Data.Mime namespace