IGraphContext Properties

 

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

NameDescription
System_CAPS_pubpropertyCancelToken

Get the current CancellationToken

System_CAPS_pubpropertyDirection

The direction to traverse starting from the input nodes.

System_CAPS_pubpropertyErrors

A list of the reported errors.

System_CAPS_pubpropertyGraph

The graph that new data will be added to.

System_CAPS_pubpropertyInputNodes

The initial nodes from which the GraphContext navigates.

An empty collection implies a search of the global scope (ex: looking for top level namespaces).

System_CAPS_pubpropertyLinkCategories

The link categories to navigate from the input nodes (that is what relationships to traverse).

For example, "Calls", or "Calls and References", and so on

An empty collection implies that all links should be traversed.

System_CAPS_pubpropertyLinkDepth

How many links away from the input nodes to return.

int.MaxValue means fetch everything that is reachable from the input nodes.

System_CAPS_pubpropertyNodeCategories

The target node categories that will be put in the OutputNodes collection.

An empty collection implies that all target nodes should be output nodes.

System_CAPS_pubpropertyOutputNodes

The nodes that answer the query posed by the context.

More data may be present in the Graph than in the OutputNodes.

OutputNodes must be part of the Graph.

System_CAPS_pubpropertyRequestedProperties

The properties requested to be on the returned input and output nodes.

System_CAPS_pubpropertyTrackChanges

True if the graph context wants to continue to be informed of changes to the output nodes.

The Cancel method stops this tracking.

Return to top
Show: