Share via


ExplorerTreeNode.SetRepresentedElement Method

Set the ModelElement that this node represents.

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

Syntax

'Declaration
Protected Overridable Sub SetRepresentedElement ( _
    element As ModelElement _
)
protected virtual void SetRepresentedElement(
    ModelElement element
)
protected:
virtual void SetRepresentedElement(
    ModelElement^ element
)
abstract SetRepresentedElement : 
        element:ModelElement -> unit  
override SetRepresentedElement : 
        element:ModelElement -> unit
protected function SetRepresentedElement(
    element : ModelElement
)

Parameters

.NET Framework Security

See Also

Reference

ExplorerTreeNode Class

Microsoft.VisualStudio.Modeling.Shell Namespace