ExplorerTreeNode.GetRepresentedElement Method
Get the ModelElement that this node represents, if any.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)
Syntax
'Declaration
Protected Overridable Function GetRepresentedElement As ModelElement
protected virtual ModelElement GetRepresentedElement()
protected:
virtual ModelElement^ GetRepresentedElement()
abstract GetRepresentedElement : unit -> ModelElement
override GetRepresentedElement : unit -> ModelElement
protected function GetRepresentedElement() : ModelElement
Return Value
Type: Microsoft.VisualStudio.Modeling.ModelElement
The ModelElement to which this node is uniquely mapped or null
.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.