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
'Usage
Dim instance As ExchangeResourceManager
Dim name As String
Dim culture As CultureInfo
Dim returnValue As String
returnValue = instance.GetString(name, _
culture)
public override string GetString(
string name,
CultureInfo culture
)
Parameters
name
Type: System.StringThe resource ID of the string to return.
culture
Type: System.Globalization.CultureInfoA CultureInfo object representing the culture of the string to retrieve.
Return value
Type: System.String
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.