Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Removes the given category from the link between source and target and if this is the last category, and then it removes the link also.
Namespace:  Microsoft.VisualStudio.GraphModel
Assembly:  Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Syntax
'Declaration
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
Parameters
- sourceId 
 Type: System.String- source 
- targetId 
 Type: System.String- target 
- category 
 Type: Microsoft.VisualStudio.GraphModel.GraphCategory- category 
Return Value
Type: Microsoft.VisualStudio.GraphModel.GraphLink
The link that was removed or null if the link still has other categories
.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.