Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The TryGetEncoding attempts to put the Encoding for the character set that this Charset object represents into the encoding out parameter. TryGetEncoding does not throw an exception if it fails.
Namespace: Microsoft.Exchange.Data.Globalization
Assembly: Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)
Syntax
'Declaration
Public Function TryGetEncoding ( _
<OutAttribute> ByRef encoding As Encoding _
) As Boolean
'Usage
Dim instance As Charset
Dim encoding As Encoding
Dim returnValue As Boolean
returnValue = instance.TryGetEncoding(encoding)
public bool TryGetEncoding(
out Encoding encoding
)
Parameters
encoding
Type: System.Text.EncodingA Encoding object in which to store the result.
Return value
Type: System.Boolean
The TryGetEncoding method returns true if it is successful. Otherwise, it returns false.