Partager via


ExplorerTreeNode.GetRepresentedElement Method

Get the ModelElement that this node represents, if any.

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
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

See Also

Reference

ExplorerTreeNode Class

Microsoft.VisualStudio.Modeling.Shell Namespace