[This is preliminary documentation and is subject to change.]
Gets localized text - name of given known category
Namespace: Tools.ComponentModelTAssembly: Tools (in Tools.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
| C# |
|---|
public static string CategoryText( KnownCategoryAttribute..::..AnotherCategories KnownCategory ) |
| Visual Basic |
|---|
Public Shared Function CategoryText ( _ KnownCategory As KnownCategoryAttribute..::..AnotherCategories _ ) As String |
| Visual C++ |
|---|
public: static String^ CategoryText( KnownCategoryAttribute..::..AnotherCategories KnownCategory ) |
| F# |
|---|
static member CategoryText : KnownCategory:KnownCategoryAttribute..::..AnotherCategories -> string |
| JScript |
|---|
public static function CategoryText( KnownCategory : KnownCategoryAttribute..::..AnotherCategories ) : String |
Parameters
Return Value
String representing localized name of given category
Remarks
KnownCategoryAttribute..::..KnownCategories are localized by .NET framework itself, KnownCategoryAttribute..::..AnotherCategories are localized by ĐTools. Availability of localized string depends on availability of such string in localizaion source.
Exceptions
| Exception | Condition |
|---|---|
| System.ComponentModel..::..InvalidEnumArgumentException | KnownCategory is neither one of KnownCategoryAttribute..::..KnownCategories nor KnownCategoryAttribute..::..AnotherCategories values |
See Also
Version History
1.5.2
- Fixed: Categories Configurations, Position, Private, PropertyChanged, Scale and Text are not recognized and leads to InvalidEnumArgumentException.