Udostępnij za pośrednictwem


Konstruktor ElementTypeDescriptor — (ICustomTypeDescriptor, ModelElement)

Inicjuje nowe wystąpienie ElementTypeDescriptor klasy za pomocą deskryptora niestandardowego typu nadrzędnego.

Przestrzeń nazw:  Microsoft.VisualStudio.Modeling.Design
Zestaw:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (w Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)

Składnia

'Deklaracja
Protected Friend Sub New ( _
    parent As ICustomTypeDescriptor, _
    element As ModelElement _
)
protected internal ElementTypeDescriptor(
    ICustomTypeDescriptor parent,
    ModelElement element
)

Parametry

Wyjątki

Wyjątek Warunek
ArgumentNullException

selectedElementis nullodwołanie o wartości null (Nothing w języku Visual Basic).

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

ElementTypeDescriptor Klasa

Przeciążenie ElementTypeDescriptor

Przestrzeń nazw Microsoft.VisualStudio.Modeling.Design