次の方法で共有


ContextLinkBaseCollection.Item プロパティ

指定したインデックスにある ContextLinkBase オブジェクト、または ContextLinkBaseCollection 内の識別子を取得します。

名前空間 :  System.Windows.Ink.AnalysisCore
アセンブリ :  IACore (IACore.dll 内)

構文

'宣言
Public ReadOnly Property Item ( _
    index As Integer _
) As ContextLinkBase
'使用
Dim instance As ContextLinkBaseCollection
Dim index As Integer
Dim value As ContextLinkBase

value = instance.Item(index)
public ContextLinkBase Item[
    int index
] { get; }
public:
property ContextLinkBase^ Item[int index] {
    ContextLinkBase^ get (int index);
}
/** @property */
public ContextLinkBase get_Item(
    int index
)
JScript では、インデックス付きプロパティはサポートされません。

パラメータ

プロパティ値

型 : System.Windows.Ink.AnalysisCore.ContextLinkBase
ContextLinkBaseCollection 内の指定したインデックスにある ContextLinkBase オブジェクト。

解説

次の例に示すように、コレクションのインデクサを使用することにより、Item へのアクセスを取得します。

インデックスが ContextLinkBaseCollection の既存のメンバと一致しない場合は、System.ArgumentOutOfRangeException がスローされます。

次の例では、ContextLinkBaseCollection、links 内の最初のノードを取得します。

Dim firstLink As ContextLinkBase = links(0)
ContextLinkBase firstLink = links[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 名前空間