CategoryResourceAttribute Class
Represents a category in which to group a property when the property is displayed in a PropertyGrid control that is set to Categorized mode.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
System::Attribute
System.ComponentModel::CategoryAttribute
Microsoft.VisualStudio.Modeling.Design::CategoryResourceAttribute
| Name | Description | |
|---|---|---|
![]() | CategoryResourceAttribute(String^, Type^) | Initializes a new instance of the CategoryResourceAttribute class by using the specified category name key and type. |
![]() | CategoryResourceAttribute(String^, Type^, String^) | Initializes a new instance of the CategoryResourceAttribute class by using the specified category name key, type, and resources name. |
| Name | Description | |
|---|---|---|
![]() | Category | (Inherited from CategoryAttribute.) |
![]() | DisplayNameKey | Gets the key of the category name resource entry. |
![]() | ResourceName | Gets the root name of the resource. |
![]() | Type | Gets the type that identifies the assembly that contains the resource. |
![]() | TypeId | (Inherited from Attribute.) |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | (Inherited from CategoryAttribute.) |
![]() | GetHashCode() | (Inherited from CategoryAttribute.) |
![]() | GetType() | (Inherited from Object.) |
![]() | IsDefaultAttribute() | (Inherited from CategoryAttribute.) |
![]() | Match(Object^) | (Inherited from Attribute.) |
![]() | ToString() | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | _Attribute::GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) | (Inherited from Attribute.) |
![]() ![]() | _Attribute::GetTypeInfo(UInt32, UInt32, IntPtr) | (Inherited from Attribute.) |
![]() ![]() | _Attribute::GetTypeInfoCount(UInt32) | (Inherited from Attribute.) |
![]() ![]() | _Attribute::Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) | (Inherited from Attribute.) |
The Category property of this class returns the category string resource that is localized to the current culture. If a localized string is not available, then the Category property returns the value of the DisplayNameKey property.
When you design a domain-specific language (DSL), the generated code applies this attribute to every property that corresponds to a domain property in the DSL definition.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



