GraphLinkCollection.Remove 方法 (String, String, GraphCategory)
从该链接移除特定类别在源和目标之间的集成,如果这是最后类,它还然后移除该链接。
命名空间: Microsoft.VisualStudio.GraphModel
程序集: Microsoft.VisualStudio.GraphModel(在 Microsoft.VisualStudio.GraphModel.dll 中)
语法
声明
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
参数
sourceId
类型:Stringsource
targetId
类型:String目标
category
类型:Microsoft.VisualStudio.GraphModel.GraphCategory类别
返回值
类型:Microsoft.VisualStudio.GraphModel.GraphLink
删除的链接或者还有其他类别的链接为空
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。