다음을 통해 공유


ModelElementTreeNode Constructors

Definition

Overloads

ModelElementTreeNode(ModelElement)

Initialize a new instance of ModelElementTreeNode

ModelElementTreeNode(ModelExplorerTreeContainer, ModelElement)
Obsolete.

Obsolete Constructor

ModelElementTreeNode(ModelElement)

Initialize a new instance of ModelElementTreeNode

public:
 ModelElementTreeNode(Microsoft::VisualStudio::Modeling::ModelElement ^ modelElement);
public ModelElementTreeNode (Microsoft.VisualStudio.Modeling.ModelElement modelElement);
new Microsoft.VisualStudio.Modeling.Shell.ModelElementTreeNode : Microsoft.VisualStudio.Modeling.ModelElement -> Microsoft.VisualStudio.Modeling.Shell.ModelElementTreeNode
Public Sub New (modelElement As ModelElement)

Parameters

modelElement
ModelElement

ModelElement represented by this node

Applies to

ModelElementTreeNode(ModelExplorerTreeContainer, ModelElement)

Caution

Use alternate constructor; 'container' parameter is no longer required

Obsolete Constructor

public:
 ModelElementTreeNode(Microsoft::VisualStudio::Modeling::Shell::ModelExplorerTreeContainer ^ container, Microsoft::VisualStudio::Modeling::ModelElement ^ modelElement);
[System.Obsolete("Use alternate constructor; 'container' parameter is no longer required")]
public ModelElementTreeNode (Microsoft.VisualStudio.Modeling.Shell.ModelExplorerTreeContainer container, Microsoft.VisualStudio.Modeling.ModelElement modelElement);
[<System.Obsolete("Use alternate constructor; 'container' parameter is no longer required")>]
new Microsoft.VisualStudio.Modeling.Shell.ModelElementTreeNode : Microsoft.VisualStudio.Modeling.Shell.ModelExplorerTreeContainer * Microsoft.VisualStudio.Modeling.ModelElement -> Microsoft.VisualStudio.Modeling.Shell.ModelElementTreeNode
Public Sub New (container As ModelExplorerTreeContainer, modelElement As ModelElement)

Parameters

container
ModelExplorerTreeContainer

ignored - retained for backwards compatibility only

modelElement
ModelElement

ModelElement represented by this node

Attributes

Applies to