DescriptionResourceAttribute Constructors
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
DescriptionResourceAttribute(String, Type) |
Initializes a new instance of the DescriptionAttribute class with a description |
DescriptionResourceAttribute(String, Type, String) |
Initializes a new instance of the DescriptionAttribute class with a description |
Initializes a new instance of the DescriptionAttribute class with a description
C++
public:
DescriptionResourceAttribute(System::String ^ descriptionKey, Type ^ type);
public DescriptionResourceAttribute(string descriptionKey, Type type);
new Microsoft.VisualStudio.Modeling.Design.DescriptionResourceAttribute : string * Type -> Microsoft.VisualStudio.Modeling.Design.DescriptionResourceAttribute
Public Sub New (descriptionKey As String, type As Type)
Parameters
- descriptionKey
- String
The description text
- type
- Type
Type
Applies to
Visual Studio SDK 2022 and other versions
Product | Versions |
---|---|
Visual Studio SDK | 2017, 2019, 2022 |
Initializes a new instance of the DescriptionAttribute class with a description
C++
public:
DescriptionResourceAttribute(System::String ^ descriptionKey, Type ^ type, System::String ^ resourceName);
public DescriptionResourceAttribute(string descriptionKey, Type type, string resourceName);
new Microsoft.VisualStudio.Modeling.Design.DescriptionResourceAttribute : string * Type * string -> Microsoft.VisualStudio.Modeling.Design.DescriptionResourceAttribute
Public Sub New (descriptionKey As String, type As Type, resourceName As String)
Parameters
- descriptionKey
- String
The description text
- type
- Type
Type
- resourceName
- String
Resource name
Applies to
Visual Studio SDK 2022 and other versions
Product | Versions |
---|---|
Visual Studio SDK | 2017, 2019, 2022 |