Namespace: Microsoft.VisualStudio.Modeling.Design
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'宣言
Protected Friend Sub New ( _
parent As ICustomTypeDescriptor, _
selectedElement As ModelElement _
)
'使用
Dim parent As ICustomTypeDescriptor
Dim selectedElement As ModelElement
Dim instance As New ElementTypeDescriptor(parent, _
selectedElement)
protected internal ElementTypeDescriptor(
ICustomTypeDescriptor parent,
ModelElement selectedElement
)
protected public:
ElementTypeDescriptor(
ICustomTypeDescriptor^ parent,
ModelElement^ selectedElement
)
protected internal function ElementTypeDescriptor(
parent : ICustomTypeDescriptor,
selectedElement : ModelElement
)
Parameters
- parent
Type: System.ComponentModel.ICustomTypeDescriptor
- selectedElement
Type: Microsoft.VisualStudio.Modeling.ModelElement
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.