ExchangeResourceManager.GetString Method (String, CultureInfo)
The GetString method returns a string that corresponds to a given culture and resource ID.
Namespace: Microsoft.Exchange.Data.Common
Assembly: Microsoft.Exchange.Data.Common (in microsoft.exchange.data.common.dll)
Syntax
'Declaration
Public Overrides Function GetString ( _
name As String, _
culture As CultureInfo _
) As String
public override string GetString (
string name,
CultureInfo culture
)
public:
virtual String^ GetString (
String^ name,
CultureInfo^ culture
) override
public String GetString (
String name,
CultureInfo culture
)
public override function GetString (
name : String,
culture : CultureInfo
) : String
Parameters
- name
The resource ID of the string to return.
- culture
A CultureInfo object representing the culture of the string to retrieve.
Remarks
The GetString method asserts that a string exists that corresponds to the resource ID name. If no such string exists, your program is halted and the user is asked to abort the application, retry the operation that caused the assertion, or ignore the error and continue running your application.
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