GraphLinkCollection::Remove Method (String^, String^, GraphCategory^)

 

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)

public:
GraphLink^ Remove(
	String^ sourceId,
	String^ targetId,
	GraphCategory^ category
)

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

Return to top
Show: