ExplorerTreeNode.SetRepresentedElement Method
Set the ModelElement that this node represents.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Declaración
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.ModelElement
The 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.