Partilhar via


GraphObject.AsNode Method

Definition

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.

public:
 Microsoft::VisualStudio::GraphModel::GraphNode ^ AsNode();
public Microsoft.VisualStudio.GraphModel.GraphNode AsNode ();
member this.AsNode : unit -> Microsoft.VisualStudio.GraphModel.GraphNode
Public Function AsNode () As GraphNode

Returns

Applies to