DescriptionResourceAttribute Class
Represents a property description for a property when the property is displayed in a PropertyGrid control.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
System::Attribute
System.ComponentModel::DescriptionAttribute
Microsoft.VisualStudio.Modeling.Design::DescriptionResourceAttribute
| Name | Description | |
|---|---|---|
![]() | DescriptionResourceAttribute(String^, Type^) | Initializes a new instance of the DescriptionResourceAttribute class by using the specified description key and type. |
![]() | DescriptionResourceAttribute(String^, Type^, String^) | Initializes a new instance of the DescriptionResourceAttribute class by using the specified description key, type, and resources name. |
| Name | Description | |
|---|---|---|
![]() | Description | Gets the description, localized to the current culture.(Overrides DescriptionAttribute::Description.) |
![]() | DescriptionKey | Gets the key of the description resource entry in the specified resource. |
![]() | 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 DescriptionAttribute.) |
![]() | GetHashCode() | (Inherited from DescriptionAttribute.) |
![]() | GetType() | (Inherited from Object.) |
![]() | IsDefaultAttribute() | (Inherited from DescriptionAttribute.) |
![]() | 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 Description property of this class gets the description string resource that is localized to the current culture. If a localized string is not available, then the Description property returns the value of the DescriptionKey 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.



