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
public static AddressHeader Parse (
string name,
string value,
AddressParserFlags flags
)
public:
static AddressHeader^ Parse (
String^ name,
String^ value,
AddressParserFlags flags
)
public static AddressHeader Parse (
String name,
String value,
AddressParserFlags flags
)
public static function Parse (
name : String,
value : String,
flags : AddressParserFlags
) : AddressHeader
Parameters
- name
The display name for the AddressHeader returned by Parse.
- value
The address header to put in the AddressHeader returned by Parse.
- flags
One of AddressParserFlags.None, .IgnoreComments, or .AllowSquareBrackets.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,
Target Platforms
Windows Server 2003