共用方式為


ContextLinkBaseCollection.Remove 方法

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 也會從 DestinationNode 物件的 Links 屬性中移除。

範例

下列範例會從 ContextLinkBaseCollection (名為 links) 移除 ContextLinkBase (名為 myLink)。

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

請參閱

參考

ContextLinkBaseCollection 類別

ContextLinkBaseCollection 成員

System.Windows.Ink.AnalysisCore 命名空間