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.StringThe display name for the AddressHeader returned by Parse.
value
Type: System.StringThe address header to put in the AddressHeader returned by Parse.
flags
Type: Microsoft.Exchange.Data.Mime.AddressParserFlagsOne of the AddressParserFlags enumeration values: None, IgnoreComments, or AllowSquareBrackets.
Return value
Type: Microsoft.Exchange.Data.Mime.AddressHeader