Método GraphLinkCollection.Remove (String, String, GraphCategory)

Remove a determinada categoria o vínculo entre a origem e destino e se esta é a última categoria, em seguida, ele remove o link também.

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

Sintaxe

'Declaração
Public Function Remove ( _
    sourceId As String, _
    targetId As String, _
    category As GraphCategory _
) As GraphLink
public GraphLink Remove(
    string sourceId,
    string targetId,
    GraphCategory category
)
public:
GraphLink^ Remove(
    String^ sourceId, 
    String^ targetId, 
    GraphCategory^ category
)
member Remove : 
        sourceId:string * 
        targetId:string * 
        category:GraphCategory -> GraphLink 
public function Remove(
    sourceId : String, 
    targetId : String, 
    category : GraphCategory
) : GraphLink

Parâmetros

Valor de retorno

Tipo: Microsoft.VisualStudio.GraphModel.GraphLink
O link que foi removido ou null se o link ainda tem outras categorias

Segurança do .NET Framework

Consulte também

Referência

GraphLinkCollection Classe

Sobrecargas Remove

Namespace Microsoft.VisualStudio.GraphModel