다음을 통해 공유


MimeParameterReader.TryGetValue Method (out String)

The TryGetValue method tries to get the value of this parameter, but does not throw an exception if its encoding is not supported.

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

Syntax

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

Parameters

  • value
    A string in which to store the value.

Return Value

The TryGetValue method returns true if the encoding was understood, in which case value contains the parameter value. Otherwise, the method returns false, in which case value is empty.

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