MimeParameterReader.TryGetValue Method (DecodingOptions, out DecodingResults, 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 ( _
decodingOptions As DecodingOptions, _
<OutAttribute> ByRef decodingResults As DecodingResults, _
<OutAttribute> ByRef value As String _
) As Boolean
public bool TryGetValue (
DecodingOptions decodingOptions,
out DecodingResults decodingResults,
out string value
)
public:
bool TryGetValue (
DecodingOptions decodingOptions,
[OutAttribute] DecodingResults% decodingResults,
[OutAttribute] String^% value
)
public boolean TryGetValue (
DecodingOptions decodingOptions,
/** @attribute OutAttribute() */ /** @ref */ DecodingResults decodingResults,
/** @attribute OutAttribute() */ /** @ref */ String value
)
JScript does not support passing value-type arguments by reference.
Parameters
- decodingOptions
A DecodingOptions structure that is used to control the decoding.
- decodingResults
A DecodingResults structure that exposes details about the decoding.
- 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