共用方式為


ElementTypeDescriptionProvider.CreateCustomTypeDescriptor 方法 (ICustomTypeDescriptor, ModelElement)

Overridable,讓衍生類別提供 ICustomTypeDescriptor (不需要是 ElementTypeDescriptor)。 基底實作只是呼叫 CreateTypeDescriptor() 來建立 ElementTypeDescriptor。

命名空間:  Microsoft.VisualStudio.Modeling.Design
組件:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.12.0.dll 中)

語法

'宣告
Protected Overridable Function CreateCustomTypeDescriptor ( _
    parent As ICustomTypeDescriptor, _
    element As ModelElement _
) As ICustomTypeDescriptor
protected virtual ICustomTypeDescriptor CreateCustomTypeDescriptor(
    ICustomTypeDescriptor parent,
    ModelElement element
)

參數

傳回值

類型:System.ComponentModel.ICustomTypeDescriptor

.NET Framework 安全性

請參閱

參考

ElementTypeDescriptionProvider 類別

CreateCustomTypeDescriptor 多載

Microsoft.VisualStudio.Modeling.Design 命名空間