从 ContextLinkBaseCollection 中移除 ContextLinkBase 对象。
命名空间: System.Windows.Ink.AnalysisCore
程序集: IACore(在 IACore.dll 中)
语法
声明
Public Sub Remove ( _
link As ContextLinkBase _
)
用法
Dim instance As ContextLinkBaseCollection
Dim link As ContextLinkBase
instance.Remove(link)
public void Remove(
ContextLinkBase link
)
public:
void Remove(
ContextLinkBase^ link
)
public void Remove(
ContextLinkBase link
)
public function Remove(
link : ContextLinkBase
)
参数
- link
类型:System.Windows.Ink.AnalysisCore.ContextLinkBase
要移除的 ContextNode 对象。
备注
同时会从 DestinationNode 对象的 Links 属性中移除 link。
示例
下面的示例从名为 links 的 ContextLinkBaseCollection 中移除一个名为 myLink 的 ContextLinkBase。
links.Remove(myLink)
links.Remove(myLink);
平台
Windows Vista, Windows XP SP2, Windows Server 2003
.NET Framework 和 .NET Compact Framework 并不是对每个平台的所有版本都提供支持。有关支持的版本的列表,请参见.NET Framework 系统要求。
版本信息
.NET Framework
受以下版本支持:3.0