次の方法で共有


Fqdn.TryParse Method

Converts the string representation of a fully-qualified domain name to a Fqdn instance. A return value indicates whether the conversion succeeded or failed.

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

Syntax

'Declaration
Public Shared Function TryParse ( _
    fqdn As String, _
    <OutAttribute> ByRef obj As Fqdn _
) As Boolean
'Usage
Dim fqdn As String
Dim obj As Fqdn
Dim returnValue As Boolean

returnValue = Fqdn.TryParse(fqdn, _
    obj)
public static bool TryParse(
    string fqdn,
    out Fqdn obj
)

Parameters

Return Value

Type: System.Boolean
true if the conversion succeeded; otherwise, false.