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 TryGetCharset method attempts to put a Charset object into the charset out parameter that corresponds to the codePage parameter. TryGetCharset 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 Shared Function TryGetCharset ( _
codePage As Integer, _
<OutAttribute> ByRef charset As Charset _
) As Boolean
'Usage
Dim codePage As Integer
Dim charset As Charset
Dim returnValue As Boolean
returnValue = Charset.TryGetCharset(codePage, _
charset)
public static bool TryGetCharset(
int codePage,
out Charset charset
)
Parameters
codePage
Type: System.Int32The code page for which to obtain a Charset object.
charset
Type: Microsoft.Exchange.Data.Globalization.CharsetA Charset in which to store the result.
Return value
Type: System.Boolean
The TryGetCharset method returns true if it is successful. Otherwise, it returns false.