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

생성자

Name Description
TabletDeviceCollection()

TabletDeviceCollection 클래스의 새 인스턴스를 초기화합니다.

속성

Name Description
Count

컬렉션의 TabletDevice 개체 수를 가져옵니다.

IsSynchronized

컬렉션에 대한 액세스가 동기화되는지 여부를 나타내는 값을 가져옵니다(스레드로부터 안전).

Item[Int32]

컬렉션 내 TabletDevice 의 지정된 인덱스에서 개체를 가져옵니다.

SyncRoot

컬렉션에 대한 액세스를 동기화하는 데 사용할 수 있는 개체를 가져옵니다.

메서드

Name Description
CopyTo(TabletDevice[], Int32)

지정된 대상 배열 인덱스에서 시작하여 현재 컬렉션의 모든 요소를 지정된 1차원 배열에 복사합니다.

Equals(Object)

지정된 개체가 현재 개체와 같은지 여부를 확인합니다.

(다음에서 상속됨 Object)
GetHashCode()

기본 해시 함수로 사용됩니다.

(다음에서 상속됨 Object)
GetType()

현재 인스턴스의 Type 가져옵니다.

(다음에서 상속됨 Object)
MemberwiseClone()

현재 Object단순 복사본을 만듭니다.

(다음에서 상속됨 Object)
ToString()

현재 개체를 나타내는 문자열을 반환합니다.

(다음에서 상속됨 Object)

명시적 인터페이스 구현

Name Description
ICollection.CopyTo(Array, Int32)

이 멤버는 .NET Framework를 지원하며 코드에서 사용할 수 없습니다.

IEnumerable.GetEnumerator()

이 멤버는 .NET Framework를 지원하며 코드에서 사용할 수 없습니다.

확장명 메서드

Name Description
AsParallel(IEnumerable)

쿼리의 병렬 처리를 사용하도록 설정합니다.

AsQueryable(IEnumerable)

IEnumerable IQueryable변환합니다.

Cast<TResult>(IEnumerable)

IEnumerable 요소를 지정된 형식으로 캐스팅합니다.

OfType<TResult>(IEnumerable)

지정된 형식에 따라 IEnumerable 요소를 필터링합니다.

적용 대상