Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Helper method that a new Graph that contains all the selected nodes plus links and nodes linked to up to the given number of levels of indirection
Namespace: Microsoft.VisualStudio.GraphModel
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Syntax
'Declaration
Public Shared Function GetSubset ( _
selection As IEnumerable(Of GraphNode), _
levels As Integer _
) As Graph
public static Graph GetSubset(
IEnumerable<GraphNode> selection,
int levels
)
public:
static Graph^ GetSubset(
IEnumerable<GraphNode^>^ selection,
int levels
)
static member GetSubset :
selection:IEnumerable<GraphNode> *
levels:int -> Graph
public static function GetSubset(
selection : IEnumerable<GraphNode>,
levels : int
) : Graph
Parameters
selection
Type: System.Collections.Generic.IEnumerable<GraphNode>The selected nodes to clone
levels
Type: System.Int32The number of levels of indirection to include in the new graph
Return Value
Type: Microsoft.VisualStudio.GraphModel.Graph
New Graph
.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.