ElementTypeDescriptionProvider.CreateCustomTypeDescriptor 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| CreateCustomTypeDescriptor(ICustomTypeDescriptor, ModelElement) |
派生类的可重写,以提供不需要成为 ElementTypeDescriptor) 的 System.componentmodel.icustomtypedescriptor> (。 基本实现只调用 CreateTypeDescriptor () 来创建 ElementTypeDescriptor。 |
| CreateCustomTypeDescriptor(ICustomTypeDescriptor, Type) |
派生类的可重写,以提供不需要成为 ElementTypeDescriptor) 的 System.componentmodel.icustomtypedescriptor> (。 基本实现只调用 CreateTypeDescriptor () 来创建 ElementTypeDescriptor。 |
CreateCustomTypeDescriptor(ICustomTypeDescriptor, ModelElement)
派生类的可重写,以提供不需要成为 ElementTypeDescriptor) 的 System.componentmodel.icustomtypedescriptor> (。 基本实现只调用 CreateTypeDescriptor () 来创建 ElementTypeDescriptor。
protected:
virtual System::ComponentModel::ICustomTypeDescriptor ^ CreateCustomTypeDescriptor(System::ComponentModel::ICustomTypeDescriptor ^ parent, Microsoft::VisualStudio::Modeling::ModelElement ^ element);
protected virtual System.ComponentModel.ICustomTypeDescriptor CreateCustomTypeDescriptor (System.ComponentModel.ICustomTypeDescriptor parent, Microsoft.VisualStudio.Modeling.ModelElement element);
abstract member CreateCustomTypeDescriptor : System.ComponentModel.ICustomTypeDescriptor * Microsoft.VisualStudio.Modeling.ModelElement -> System.ComponentModel.ICustomTypeDescriptor
override this.CreateCustomTypeDescriptor : System.ComponentModel.ICustomTypeDescriptor * Microsoft.VisualStudio.Modeling.ModelElement -> System.ComponentModel.ICustomTypeDescriptor
Protected Overridable Function CreateCustomTypeDescriptor (parent As ICustomTypeDescriptor, element As ModelElement) As ICustomTypeDescriptor
参数
- parent
- ICustomTypeDescriptor
父自定义类型描述符。
- element
- ModelElement
要描述的元素。
返回
适用于
CreateCustomTypeDescriptor(ICustomTypeDescriptor, Type)
派生类的可重写,以提供不需要成为 ElementTypeDescriptor) 的 System.componentmodel.icustomtypedescriptor> (。 基本实现只调用 CreateTypeDescriptor () 来创建 ElementTypeDescriptor。
protected:
virtual System::ComponentModel::ICustomTypeDescriptor ^ CreateCustomTypeDescriptor(System::ComponentModel::ICustomTypeDescriptor ^ parent, Type ^ modelElementType);
protected virtual System.ComponentModel.ICustomTypeDescriptor CreateCustomTypeDescriptor (System.ComponentModel.ICustomTypeDescriptor parent, Type modelElementType);
abstract member CreateCustomTypeDescriptor : System.ComponentModel.ICustomTypeDescriptor * Type -> System.ComponentModel.ICustomTypeDescriptor
override this.CreateCustomTypeDescriptor : System.ComponentModel.ICustomTypeDescriptor * Type -> System.ComponentModel.ICustomTypeDescriptor
Protected Overridable Function CreateCustomTypeDescriptor (parent As ICustomTypeDescriptor, modelElementType As Type) As ICustomTypeDescriptor
参数
- parent
- ICustomTypeDescriptor
父自定义类型描述符。
- modelElementType
- Type
要描述的元素类型。