Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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: IEnumerable<GraphNode>The selected nodes to clone
levels
Type: 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.