Delen via


ModelExplorerTreeContainer.CreateModelElementTreeNode Method

Creates a node in the tree view.

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

Syntax

'Declaration
Public Overridable Function CreateModelElementTreeNode ( _
    modelElement As ModelElement _
) As ModelElementTreeNode
public virtual ModelElementTreeNode CreateModelElementTreeNode(
    ModelElement modelElement
)
public:
virtual ModelElementTreeNode^ CreateModelElementTreeNode(
    ModelElement^ modelElement
)
abstract CreateModelElementTreeNode : 
        modelElement:ModelElement -> ModelElementTreeNode  
override CreateModelElementTreeNode : 
        modelElement:ModelElement -> ModelElementTreeNode
public function CreateModelElementTreeNode(
    modelElement : ModelElement
) : ModelElementTreeNode

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Shell.ModelElementTreeNode
The node.

Remarks

A node represents a parent element to which child elements are assigned.

.NET Framework Security

See Also

Reference

ModelExplorerTreeContainer Class

Microsoft.VisualStudio.Modeling.Shell Namespace