CompartmentTypeDescriptor 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
CompartmentTypeDescriptor(ICustomTypeDescriptor, Compartment) | |
CompartmentTypeDescriptor(ICustomTypeDescriptor, PresentationElement, ModelElement) |
Obsolete.
Creates a new CompartmentTypeDescriptor |
CompartmentTypeDescriptor(ICustomTypeDescriptor, Compartment)
public:
CompartmentTypeDescriptor(System::ComponentModel::ICustomTypeDescriptor ^ parent, Microsoft::VisualStudio::Modeling::Diagrams::Compartment ^ element);
public CompartmentTypeDescriptor (System.ComponentModel.ICustomTypeDescriptor parent, Microsoft.VisualStudio.Modeling.Diagrams.Compartment element);
new Microsoft.VisualStudio.Modeling.Diagrams.CompartmentTypeDescriptor : System.ComponentModel.ICustomTypeDescriptor * Microsoft.VisualStudio.Modeling.Diagrams.Compartment -> Microsoft.VisualStudio.Modeling.Diagrams.CompartmentTypeDescriptor
Public Sub New (parent As ICustomTypeDescriptor, element As Compartment)
Parameters
- parent
- ICustomTypeDescriptor
- element
- Compartment
Applies to
CompartmentTypeDescriptor(ICustomTypeDescriptor, PresentationElement, ModelElement)
Caution
This method is redundant and may be removed in a later version. Use the alternative (ICustomTypeDescriptor, Compartment) constructor instead.
Creates a new CompartmentTypeDescriptor
public:
CompartmentTypeDescriptor(System::ComponentModel::ICustomTypeDescriptor ^ parent, Microsoft::VisualStudio::Modeling::Diagrams::PresentationElement ^ presentationElement, Microsoft::VisualStudio::Modeling::ModelElement ^ element);
[System.Obsolete("This method is redundant and may be removed in a later version. Use the alternative (ICustomTypeDescriptor, Compartment) constructor instead.", true)]
public CompartmentTypeDescriptor (System.ComponentModel.ICustomTypeDescriptor parent, Microsoft.VisualStudio.Modeling.Diagrams.PresentationElement presentationElement, Microsoft.VisualStudio.Modeling.ModelElement element);
[<System.Obsolete("This method is redundant and may be removed in a later version. Use the alternative (ICustomTypeDescriptor, Compartment) constructor instead.", true)>]
new Microsoft.VisualStudio.Modeling.Diagrams.CompartmentTypeDescriptor : System.ComponentModel.ICustomTypeDescriptor * Microsoft.VisualStudio.Modeling.Diagrams.PresentationElement * Microsoft.VisualStudio.Modeling.ModelElement -> Microsoft.VisualStudio.Modeling.Diagrams.CompartmentTypeDescriptor
Public Sub New (parent As ICustomTypeDescriptor, presentationElement As PresentationElement, element As ModelElement)
Parameters
- parent
- ICustomTypeDescriptor
- presentationElement
- PresentationElement
- element
- ModelElement
- Attributes