ElementTypeDescriptor Constructors
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
ElementTypeDescriptor(ModelElement) |
Constructor |
ElementTypeDescriptor(Type) |
ctor for creating the wrapper class which represents the MEL type to be consumed |
ElementTypeDescriptor(ICustomTypeDescriptor, ModelElement) |
ctor for creating the wrapper class which represents the element to be consumed by the property grid. |
ElementTypeDescriptor(ICustomTypeDescriptor, Type) |
ctor for creating the wrapper class which represents the MEL type to be consumed |
ElementTypeDescriptor(ModelElement)
Constructor
protected public:
ElementTypeDescriptor(Microsoft::VisualStudio::Modeling::ModelElement ^ element);
protected internal ElementTypeDescriptor (Microsoft.VisualStudio.Modeling.ModelElement element);
new Microsoft.VisualStudio.Modeling.Design.ElementTypeDescriptor : Microsoft.VisualStudio.Modeling.ModelElement -> Microsoft.VisualStudio.Modeling.Design.ElementTypeDescriptor
Protected Friend Sub New (element As ModelElement)
Parameters
- element
- ModelElement
Applies to
ElementTypeDescriptor(Type)
ctor for creating the wrapper class which represents the MEL type to be consumed
protected public:
ElementTypeDescriptor(Type ^ elementType);
protected internal ElementTypeDescriptor (Type elementType);
new Microsoft.VisualStudio.Modeling.Design.ElementTypeDescriptor : Type -> Microsoft.VisualStudio.Modeling.Design.ElementTypeDescriptor
Protected Friend Sub New (elementType As Type)
Parameters
- elementType
- Type
Element type to be described.
Applies to
ElementTypeDescriptor(ICustomTypeDescriptor, ModelElement)
ctor for creating the wrapper class which represents the element to be consumed by the property grid.
protected public:
ElementTypeDescriptor(System::ComponentModel::ICustomTypeDescriptor ^ parent, Microsoft::VisualStudio::Modeling::ModelElement ^ element);
protected internal ElementTypeDescriptor (System.ComponentModel.ICustomTypeDescriptor parent, Microsoft.VisualStudio.Modeling.ModelElement element);
new Microsoft.VisualStudio.Modeling.Design.ElementTypeDescriptor : System.ComponentModel.ICustomTypeDescriptor * Microsoft.VisualStudio.Modeling.ModelElement -> Microsoft.VisualStudio.Modeling.Design.ElementTypeDescriptor
Protected Friend Sub New (parent As ICustomTypeDescriptor, element As ModelElement)
Parameters
- parent
- ICustomTypeDescriptor
Parent custom type descriptor.
- element
- ModelElement
Applies to
ElementTypeDescriptor(ICustomTypeDescriptor, Type)
ctor for creating the wrapper class which represents the MEL type to be consumed
protected public:
ElementTypeDescriptor(System::ComponentModel::ICustomTypeDescriptor ^ parent, Type ^ elementType);
protected internal ElementTypeDescriptor (System.ComponentModel.ICustomTypeDescriptor parent, Type elementType);
new Microsoft.VisualStudio.Modeling.Design.ElementTypeDescriptor : System.ComponentModel.ICustomTypeDescriptor * Type -> Microsoft.VisualStudio.Modeling.Design.ElementTypeDescriptor
Protected Friend Sub New (parent As ICustomTypeDescriptor, elementType As Type)
Parameters
- parent
- ICustomTypeDescriptor
Parent custom type descriptor.
- elementType
- Type
Element type to be described.