Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Initializes a new instance of the ElementTypeDescriptor class by using a parent custom type descriptor.
Namespace: Microsoft.VisualStudio.Modeling.Design
Assembly: Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)
Syntax
'Declaration
Protected Friend Sub New ( _
parent As ICustomTypeDescriptor, _
element As ModelElement _
)
protected internal ElementTypeDescriptor(
ICustomTypeDescriptor parent,
ModelElement element
)
protected public:
ElementTypeDescriptor(
ICustomTypeDescriptor^ parent,
ModelElement^ element
)
new :
parent:ICustomTypeDescriptor *
element:ModelElement -> ElementTypeDescriptor
function ElementTypeDescriptor(
parent : ICustomTypeDescriptor,
element : ModelElement
)
Parameters
parent
Type: ICustomTypeDescriptorThe parent custom type descriptor.
- 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.