TabletDeviceCollection TabletDeviceCollection TabletDeviceCollection TabletDeviceCollection Class

Definition

Contains the TabletDevice objects that represent the digitizer devices of a tablet device.

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
Inheritance
TabletDeviceCollectionTabletDeviceCollectionTabletDeviceCollectionTabletDeviceCollection
Derived
Implements

Examples

The following example demonstrates the TabletDeviceCollection class.

// 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

Constructors

TabletDeviceCollection() TabletDeviceCollection() TabletDeviceCollection() TabletDeviceCollection()

Initializes a new instance of the TabletDeviceCollection class

Properties

Count Count Count Count

Gets the number of TabletDevice objects in the collection.

IsSynchronized IsSynchronized IsSynchronized IsSynchronized

Gets a value that indicates whether access to the collection is synchronized (thread safe).

Item[Int32] Item[Int32] Item[Int32] Item[Int32]

Gets the TabletDevice object at the specified index within the collection.

SyncRoot SyncRoot SyncRoot SyncRoot

Gets an object that can be used to synchronize access to the collection.

Methods

CopyTo(TabletDevice[], Int32) CopyTo(TabletDevice[], Int32) CopyTo(TabletDevice[], Int32) CopyTo(TabletDevice[], Int32)

Copies all elements in the current collection to the specified one-dimensional array, starting at the specified destination array index.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32)

This member supports the .NET Framework and is not intended to be used from your code.

IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator()

This member supports the .NET Framework and is not intended to be used from your code.

Extension Methods

Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable)

Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable)

Filters the elements of an IEnumerable based on a specified type.

AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable)

Enables parallelization of a query.

AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable)

Converts an IEnumerable to an IQueryable.

Applies to