Partager via


Header.IsValueValid Method

The IsValueValid(String) method indicates whether value is valid for this header.

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

Syntax

'Declaration
Public Overridable Function IsValueValid ( _
    value As String _
) As Boolean
'Usage
Dim instance As Header
Dim value As String
Dim returnValue As Boolean

returnValue = instance.IsValueValid(value)
public virtual bool IsValueValid(
    string value
)

Parameters

Return Value

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