ElementTypeDescriptionProvider.CreateTypeDescriptor Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CreateTypeDescriptor(ICustomTypeDescriptor, ModelElement) |
Overridables for the derived class to provide a custom type descriptor. |
CreateTypeDescriptor(ICustomTypeDescriptor, Type) |
Overridables for the derived class to provide a custom type descriptor. |
CreateTypeDescriptor(ICustomTypeDescriptor, ModelElement)
Overridables for the derived class to provide a custom type descriptor.
protected:
virtual Microsoft::VisualStudio::Modeling::Design::ElementTypeDescriptor ^ CreateTypeDescriptor(System::ComponentModel::ICustomTypeDescriptor ^ parent, Microsoft::VisualStudio::Modeling::ModelElement ^ element);
protected virtual Microsoft.VisualStudio.Modeling.Design.ElementTypeDescriptor CreateTypeDescriptor (System.ComponentModel.ICustomTypeDescriptor parent, Microsoft.VisualStudio.Modeling.ModelElement element);
abstract member CreateTypeDescriptor : System.ComponentModel.ICustomTypeDescriptor * Microsoft.VisualStudio.Modeling.ModelElement -> Microsoft.VisualStudio.Modeling.Design.ElementTypeDescriptor
override this.CreateTypeDescriptor : System.ComponentModel.ICustomTypeDescriptor * Microsoft.VisualStudio.Modeling.ModelElement -> Microsoft.VisualStudio.Modeling.Design.ElementTypeDescriptor
Protected Overridable Function CreateTypeDescriptor (parent As ICustomTypeDescriptor, element As ModelElement) As ElementTypeDescriptor
Parameters
- parent
- ICustomTypeDescriptor
Parent custom type descriptor.
- element
- ModelElement
Element to be described.
Returns
Applies to
CreateTypeDescriptor(ICustomTypeDescriptor, Type)
Overridables for the derived class to provide a custom type descriptor.
protected:
virtual Microsoft::VisualStudio::Modeling::Design::ElementTypeDescriptor ^ CreateTypeDescriptor(System::ComponentModel::ICustomTypeDescriptor ^ parent, Type ^ modelElementType);
protected virtual Microsoft.VisualStudio.Modeling.Design.ElementTypeDescriptor CreateTypeDescriptor (System.ComponentModel.ICustomTypeDescriptor parent, Type modelElementType);
abstract member CreateTypeDescriptor : System.ComponentModel.ICustomTypeDescriptor * Type -> Microsoft.VisualStudio.Modeling.Design.ElementTypeDescriptor
override this.CreateTypeDescriptor : System.ComponentModel.ICustomTypeDescriptor * Type -> Microsoft.VisualStudio.Modeling.Design.ElementTypeDescriptor
Protected Overridable Function CreateTypeDescriptor (parent As ICustomTypeDescriptor, modelElementType As Type) As ElementTypeDescriptor
Parameters
- parent
- ICustomTypeDescriptor
Parent custom type descriptor.
- modelElementType
- Type
Type of element to be described.