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
- name
Type: System.String
The name to evaluate.
Return Value
Type: System.Boolean
The IsHeaderNameValid(String) method returns true if name is valid; otherwise the method returns false.