GetString(String,String,String,String,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, _
Optional ByVal As Assembly _
) As String
'Usage
Dim resourceAssembly As String
Dim resourceDictionary As String
Dim resourceKey As String
Dim defaultValue As String
Dim currentAssembly As Assembly
Dim value As String
value = C1Localizer.GetString(resourceAssembly, resourceDictionary, resourceKey, defaultValue, currentAssembly)
public static string GetString(
string ,
string ,
string ,
string ,
Assembly
)
Parameters
- resourceAssembly
- The name of executing assembly.
- resourceDictionary
- The name of resource dictionary.
- resourceKey
- The resource key.
- defaultValue
- The default value.
- currentAssembly
- The current executing assembly.
See Also