共用方式為


ContextLinkBaseCollection.RemoveAt 方法

ContextLinkBaseCollection 的指定索引處移除 ContextLinkBase 物件。

命名空間:  System.Windows.Ink.AnalysisCore
組件:  IACore (在 IACore.dll 中)

語法

'宣告
Public Sub RemoveAt ( _
    index As Integer _
)
'用途
Dim instance As ContextLinkBaseCollection
Dim index As Integer

instance.RemoveAt(index)
public void RemoveAt(
    int index
)
public:
void RemoveAt(
    int index
)
public void RemoveAt(
    int index
)
public function RemoveAt(
    index : int
)

參數

範例

下列範例會移除 ContextLinkBaseCollection (名為 links) 內的第一個 ContextLinkBase

links.RemoveAt(0)
links.RemoveAt(0);

平台

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 命名空間