Partilhar via


ModelElementTreeNode Constructor (ModelExplorerTreeContainer, ModelElement)

Note: This API is now obsolete.

Initializes a new instance of the ModelElementTreeNode class.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)

Syntax

'Declaração
<ObsoleteAttribute("Use alternate constructor; 'container' parameter is no longer required")> _
Public Sub New ( _
    container As ModelExplorerTreeContainer, _
    modelElement As ModelElement _
)
[ObsoleteAttribute("Use alternate constructor; 'container' parameter is no longer required")]
public ModelElementTreeNode(
    ModelExplorerTreeContainer container,
    ModelElement modelElement
)
[ObsoleteAttribute(L"Use alternate constructor; 'container' parameter is no longer required")]
public:
ModelElementTreeNode(
    ModelExplorerTreeContainer^ container, 
    ModelElement^ modelElement
)
[<ObsoleteAttribute("Use alternate constructor; 'container' parameter is no longer required")>]
new : 
        container:ModelExplorerTreeContainer * 
        modelElement:ModelElement -> ModelElementTreeNode
public function ModelElementTreeNode(
    container : ModelExplorerTreeContainer, 
    modelElement : ModelElement
)

Parameters

.NET Framework Security

See Also

Reference

ModelElementTreeNode Class

ModelElementTreeNode Overload

Microsoft.VisualStudio.Modeling.Shell Namespace