MimeParameter.TryGetValue Method (out String)
The TryGetValue method puts the value of this MimeParameter object into value, but does not throw an exception if the encoding is unsupported.
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
The string in which to put the value of this MimeParameter object if decoding is successful.
Return Value
The TryGetValue method returns true if decoding was successful, in which case value contains the Multipurpose Internet Mail Extensions (MIME) part value. It returns false if the decoding was unsuccessful, 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