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
element
Type: Microsoft.VisualStudio.Modeling.ModelElementThe ModelElement that this node should represent.
.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.