Sdílet prostřednictvím


MimeAddressReader.TryGetDisplayName Method (out String)

The TryGetDisplayName method tries to get the display name of the current address header.

Namespace: Microsoft.Exchange.Data.Mime
Assembly: Microsoft.Exchange.Data.Common (in microsoft.exchange.data.common.dll)

Syntax

'Declaration
Public Function TryGetDisplayName ( _
    <OutAttribute> ByRef displayName As String _
) As Boolean
public bool TryGetDisplayName (
    out string displayName
)
public:
bool TryGetDisplayName (
    [OutAttribute] String^% displayName
)
public boolean TryGetDisplayName (
    /** @attribute OutAttribute() */ /** @ref */ String displayName
)
JScript does not support passing value-type arguments by reference.

Parameters

  • displayName
    A string in which to store the display name.

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