[This is preliminary documentation and is subject to change.]
Looks up the localized name of the specified category.
Namespace: Tools.ComponentModelTAssembly: Tools (in Tools.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
| C# |
|---|
protected override string GetLocalizedString( string value ) |
| Visual Basic |
|---|
Protected Overrides Function GetLocalizedString ( _ value As String _ ) As String |
| Visual C++ |
|---|
protected: virtual String^ GetLocalizedString( String^ value ) override |
| F# |
|---|
abstract GetLocalizedString : value:string -> string override GetLocalizedString : value:string -> string |
| JScript |
|---|
protected override function GetLocalizedString( value : String ) : String |
Parameters
- value
- Type: System..::..String
The identifer for the category to look up.
Return Value
The localized name of the category, or null if a localized name does not exist.
Remarks
The behavior of this function is affected by value of the LookUpOrder property.
The value must have the same value as alternative value passed to the CTor otherwise GetLocalizedString(String) is returned.
If LookUpOrder is NETFirst then
Function returns value of GetLocalizedString(String) if it is not an empty string. Othervise returns value of property specified by PropertyName of type specified by Resource. If obtaining this value fails returns an empty string.
If LookUpOrder is ResourceOnly then
Function returns value of property specified by PropertyName of type specified by Resource. If obtaining this value failf an empty string is returned.
If LookUpOrder is ResourceFirst (or other value not mentioned here) then
Function returns value of property specified by PropertyName of type specified by Resource. If obraining this value fails the resilt of GetLocalizedString(String) is returned.
If this function is going to return an empty string (eg. because of resource lookup failure) it returns alternative value specified in CTor instead.