ElementTypeDescriptor Constructor (ModelElement)
Initializes a new instance of the ElementTypeDescriptor class.
Namespace: Microsoft.VisualStudio.Modeling.Design
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
‘선언
Protected Friend Sub New ( _
element As ModelElement _
)
protected internal ElementTypeDescriptor(
ModelElement element
)
protected public:
ElementTypeDescriptor(
ModelElement^ element
)
new :
element:ModelElement -> ElementTypeDescriptor
function ElementTypeDescriptor(
element : ModelElement
)
Parameters
- element
Type: Microsoft.VisualStudio.Modeling.ModelElement
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | selectedElement is nulla null reference (Nothing in Visual Basic). |
.NET Framework Security
- 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.