AddressHeader.Parse Method
The static Parse method creates a new AddressHeader with the name specified in name, and the address items specified in value.
Namespace: Microsoft.Exchange.Data.Mime
Assembly: Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)
Syntax
'Declaration
Public Shared Function Parse ( _
name As String, _
value As String, _
flags As AddressParserFlags _
) As AddressHeader
'Usage
Dim name As String
Dim value As String
Dim flags As AddressParserFlags
Dim returnValue As AddressHeader
returnValue = AddressHeader.Parse(name, value, _
flags)
public static AddressHeader Parse(
string name,
string value,
AddressParserFlags flags
)
Parameters
- name
Type: System.String
The display name for the AddressHeader returned by Parse.
- value
Type: System.String
The address header to put in the AddressHeader returned by Parse.
- flags
Type: Microsoft.Exchange.Data.Mime.AddressParserFlags
One of AddressParserFlags: None, IgnoreComments, or AllowSquareBrackets.