Namespace: Microsoft.VisualStudio.Modeling.Design
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'宣言
Public Sub New ( _
descriptionKey As String, _
type As Type _
)
'使用
Dim descriptionKey As String
Dim type As Type
Dim instance As New DescriptionResourceAttribute(descriptionKey, _
type)
public DescriptionResourceAttribute(
string descriptionKey,
Type type
)
public:
DescriptionResourceAttribute(
String^ descriptionKey,
Type^ type
)
public function DescriptionResourceAttribute(
descriptionKey : String,
type : Type
)
Parameters
- descriptionKey
Type: System.String
- type
Type: System.Type
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
DescriptionResourceAttribute Class
DescriptionResourceAttribute Members