共用方式為


CursorButtons Class

CursorButtons Class

Represents a collection of CursorButton objects for a Cursor object.

Definition

Visual Basic .NET Public Class CursorButtons
Inherits Object
Implements ICollection, IEnumerable
C# public class CursorButtons : Object,
ICollection, IEnumerable
Managed C++ public __gc class CursorButtons : public Object,
ICollection, IEnumerable

Members Table

The following table lists the members exposed by the object.

Methods

Method Description
CopyTo Copies all of the elements of the current CursorButtons collection to the specified one-dimensional array, starting at the specified destination array index.
Equals Leave Site Determines whether two Object Leave Site instances are equal. Inherited from Object Leave Site.
Finalize Leave Site Allows an Object Leave Site to attempt to free resources and perform other cleanup operations before the Object Leave Site is reclaimed by garbage collection. Inherited from Object Leave Site.
get_Item Returns the CursorButton object at the known index in a CursorButtons collection.
GetEnumerator Returns an object that implements the System.Collections.IEnumerator Leave Site interface and that can iterate through the CursorButton objects within the CursorButtons collection.
GetHashCode Leave Site Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. Inherited from Object Leave Site.
GetType Leave Site Gets the Type Leave Site of the current instance. Inherited from Object Leave Site.
IEnumerable.GetEnumerator
MemberwiseClone Leave Site Creates a shallow copy of the current Object Leave Site. Inherited from Object Leave Site.
static (Shared in Visual Basic .NET)ReferenceEquals Leave Site Determines whether the specified Object Leave Site instances are the same instance. Inherited from Object Leave Site.
ToString Leave Site Returns a String Leave Site that represents the current Object Leave Site. Inherited from Object Leave Site.

Properties

Property Description
Count Gets the number of CursorButton objects contained in the CursorButtons collection.
IsSynchronized Gets a value that indicates whether or not access to the CursorButtons collection is synchronized (thread safe).
Item Gets the CursorButton object at the specified index within the CursorButtons collection.
SyncRoot Returns an object that can be used to synchronize access to the CursorButtons collection.

Inheritance Hierarchy

Object Leave Site

CursorButtons

Class Information

Namespace Microsoft.Ink
Assembly Microsoft.Ink (microsoft.ink.dll)
Strong Name Microsoft.Ink, Version=1.7.4009.0, Culture=neutral, PublicKeyToken=a2870d9cc4d021c8

See Also