Culture.TryGetCulture Method (String, out Culture)
TryGetCulture attempts to put a Culture object that corresponds to the name parameter into the culture out parameter. TryGetCulture 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 TryGetCulture ( _
name As String, _
<OutAttribute> ByRef culture As Culture _
) As Boolean
public static bool TryGetCulture (
string name,
out Culture culture
)
public:
static bool TryGetCulture (
String^ name,
[OutAttribute] Culture^% culture
)
public static boolean TryGetCulture (
String name,
/** @attribute OutAttribute() */ /** @ref */ Culture culture
)
JScript does not support passing value-type arguments by reference.
Parameters
- name
The name of the culture to obtain.
- culture
A Culture object in which to store the result.
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