ModelExplorerTreeContainer.CreateModelElementTreeNode Method
Creates a node in the tree view.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Déclaration
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
- modelElement
Type: Microsoft.VisualStudio.Modeling.ModelElement
The element in the tree view that represents the node.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.