Aracılığıyla paylaş


ElementTypeDescriptionProvider.CreateTypeDescriptor Yöntem (ICustomTypeDescriptor, ModelElement)

Özel tür tanımlayıcısı oluşturur.

Ad alanı:  Microsoft.VisualStudio.Modeling.Design
Derleme:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (Microsoft.VisualStudio.Modeling.Sdk.11.0.dll içinde)

Sözdizimi

'Bildirim
Protected Overridable Function CreateTypeDescriptor ( _
    parent As ICustomTypeDescriptor, _
    element As ModelElement _
) As ElementTypeDescriptor
protected virtual ElementTypeDescriptor CreateTypeDescriptor(
    ICustomTypeDescriptor parent,
    ModelElement element
)

Parametreler

Dönüş Değeri

Tür: Microsoft.VisualStudio.Modeling.Design.ElementTypeDescriptor
Yeni bir özel tür tanımlayıcısı.

Özel Durumlar

Exception Koşul
ArgumentException

elementis nullnull başvuru (Visual Basic'te Nothing).

.NET Framework Güvenliği

Ayrıca bkz.

Başvuru

ElementTypeDescriptionProvider Sınıf

CreateTypeDescriptor Fazla Yük

Microsoft.VisualStudio.Modeling.Design Ad Alanı