共用方式為


TabletPropertyDescriptionCollection.Item 屬性

取得或設定索引處的封包屬性描述。

命名空間:  Microsoft.Ink
組件:  Microsoft.Ink (在 Microsoft.Ink.dll 中)

語法

'宣告
Public Property Item ( _
    index As Integer _
) As TabletPropertyDescription
'用途
Dim instance As TabletPropertyDescriptionCollection
Dim index As Integer
Dim value As TabletPropertyDescription

value = instance.Item(index)

instance.Item(index) = value
public TabletPropertyDescription Item[
    int index
] { get; set; }
public:
property TabletPropertyDescription^ Item[int index] {
    TabletPropertyDescription^ get (int index);
    void set (int index, TabletPropertyDescription^ value);
}
/** @property */
public TabletPropertyDescription get_Item(
    int index
)
/** @property */
public  void set_Item(TabletPropertyDescription value)
JScript 不支援索引屬性。

參數

  • index
    型別:System.Int32
    封包屬性描述的索引。

屬性值

型別:Microsoft.Ink.TabletPropertyDescription
指定之索引處的封包屬性描述。

備註

如果 index 與 TabletPropertyDescriptionCollection 集合的現有成員不相符,則會擲回 ArgumentOutOfRangeException (英文)。

平台

Windows Vista

.NET Framework 和 .NET Compact Framework 並不支援各種平台的所有版本。如需支援平台版本的相關資訊,請參閱 .NET Framework 系統需求

版本資訊

.NET Framework

支援版本:3.0

請參閱

參考

TabletPropertyDescriptionCollection 類別

TabletPropertyDescriptionCollection 成員

Microsoft.Ink 命名空間

TabletPropertyDescription