[This is preliminary documentation and is subject to change.]
CTor from any String
Namespace: Tools.ComponentModelTAssembly: Tools (in Tools.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
| C# |
|---|
[EditorBrowsableAttribute(EditorBrowsableState.Never)] public KnownCategoryAttribute( string AnyCategory ) |
| Visual Basic |
|---|
<EditorBrowsableAttribute(EditorBrowsableState.Never)> _ Public Sub New ( _ AnyCategory As String _ ) |
| Visual C++ |
|---|
[EditorBrowsableAttribute(EditorBrowsableState::Never)] public: KnownCategoryAttribute( String^ AnyCategory ) |
| F# |
|---|
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>] new : AnyCategory:string -> KnownCategoryAttribute |
| JScript |
|---|
public function KnownCategoryAttribute( AnyCategory : String ) |
Parameters
- AnyCategory
- Type: System..::..String
Category to be passed to CTor of CategoryAttribute
Remarks
This CTor allows you to pass any String to this class. This is CTor that is used instead of that one that takes CategoryAttributeValues..::..Value. This is done becose of it is the way how you can tell intellisense to list values for you.
This ctor should be used with constants that are members of CategoryAttributeValues (but there is no chceck).