GetString(String,String,String,String,CultureInfo,Assembly) Method
In This Topic
Returns the localized string for the specified culture.
Syntax
'Declaration
Public Overloads Shared Function GetString( _
ByVal As String, _
ByVal As String, _
ByVal As String, _
ByVal As String, _
ByVal As CultureInfo, _
Optional ByVal As Assembly _
) As String
'Usage
Dim resourceAssembly As String
Dim resourceDictionary As String
Dim resourceKey As String
Dim defaultValue As String
Dim culture As CultureInfo
Dim currentAssembly As Assembly
Dim value As String
value = C1Localizer.GetString(resourceAssembly, resourceDictionary, resourceKey, defaultValue, culture, currentAssembly)
Parameters
- resourceAssembly
- The name of resource assembly.
- resourceDictionary
- The name of resource dictionary.
- resourceKey
- The resource key.
- defaultValue
- The default value.
- culture
- The System.Globalization.CultureInfo info.
- currentAssembly
- The current executing assembly.
See Also