TabletDeviceCollection クラス

定義

タブレット デバイスのデジタイザー デバイスを表す TabletDevice オブジェクトを格納します。

public ref class TabletDeviceCollection : System::Collections::ICollection
public class TabletDeviceCollection : System.Collections.ICollection
type TabletDeviceCollection = class
    interface ICollection
    interface IEnumerable
Public Class TabletDeviceCollection
Implements ICollection
継承
TabletDeviceCollection
派生
実装

次の例では、 TabletDeviceCollection クラスを示します。

// Get the TabletDevice objects
TabletDeviceCollection myTabletDeviceCollection = Tablet.TabletDevices;

// Display the types of TabletDevices            
foreach (TabletDevice td in myTabletDeviceCollection)
{
    Console.WriteLine(td.Type);
}
'  Get the TabletDevice objects
Dim myTabletDeviceCollection As TabletDeviceCollection = Tablet.TabletDevices

' Display the types of TabletDevices
Dim td As TabletDevice

For Each td In myTabletDeviceCollection
    Console.WriteLine(td.Name)
Next

コンストラクター

名前 説明
TabletDeviceCollection()

TabletDeviceCollection クラスの新しいインスタンスを初期化します。

プロパティ

名前 説明
Count

コレクション内の TabletDevice オブジェクトの数を取得します。

IsSynchronized

コレクションへのアクセスが同期されているかどうかを示す値を取得します (スレッド セーフ)。

Item[Int32]

コレクション内の指定したインデックス位置にある TabletDevice オブジェクトを取得します。

SyncRoot

コレクションへのアクセスを同期するために使用できるオブジェクトを取得します。

メソッド

名前 説明
CopyTo(TabletDevice[], Int32)

現在のコレクション内のすべての要素を、指定したコピー先の配列インデックスから開始して、指定した 1 次元配列にコピーします。

Equals(Object)

指定したオブジェクトが現在のオブジェクトと等しいかどうかを判断します。

(継承元 Object)
GetHashCode()

既定のハッシュ関数として機能します。

(継承元 Object)
GetType()

現在のインスタンスの Type を取得します。

(継承元 Object)
MemberwiseClone()

現在の Objectの簡易コピーを作成します。

(継承元 Object)
ToString()

現在のオブジェクトを表す文字列を返します。

(継承元 Object)

明示的なインターフェイスの実装

名前 説明
ICollection.CopyTo(Array, Int32)

このメンバーは、.NET Framework をサポートしており、コードから使用するためのものではありません。

IEnumerable.GetEnumerator()

このメンバーは、.NET Framework をサポートしており、コードから使用するためのものではありません。

拡張メソッド

名前 説明
AsParallel(IEnumerable)

クエリの並列化を有効にします。

AsQueryable(IEnumerable)

IEnumerableIQueryableに変換します。

Cast<TResult>(IEnumerable)

IEnumerable の要素を指定した型にキャストします。

OfType<TResult>(IEnumerable)

指定した型に基づいて、IEnumerable の要素をフィルター処理します。

適用対象