Share via


GraphObject.AsNode Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Converts the GraphObject to a GraphNode. If this is a GraphGroup, the inner node is returned.

For types other than GraphNode/Group, null is returned.

Namespace:  Microsoft.VisualStudio.GraphModel
Assembly:  Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)

Syntax

'Declaration
Public Function AsNode As GraphNode
public GraphNode AsNode()
public:
GraphNode^ AsNode()
member AsNode : unit -> GraphNode
public function AsNode() : GraphNode

Return Value

Type: Microsoft.VisualStudio.GraphModel.GraphNode

.NET Framework Security

See Also

Reference

GraphObject Class

Microsoft.VisualStudio.GraphModel Namespace