QueryNotificationCollection QueryNotificationCollection QueryNotificationCollection Class

Definition

Contains a collection of QueryNotification objects. This class cannot be inherited.

public ref class QueryNotificationCollection sealed : System::Collections::IList
[System.Runtime.InteropServices.Guid("BDC224CD-8541-41fb-B457-B90BC60F9AE4")]
public sealed class QueryNotificationCollection : System.Collections.IList
Public NotInheritable Class QueryNotificationCollection
Implements IList
Inheritance
QueryNotificationCollectionQueryNotificationCollectionQueryNotificationCollection
Attributes
Implements

Constructors

QueryNotificationCollection() QueryNotificationCollection() QueryNotificationCollection()

Initializes a new instance of QueryNotificationCollection class.

Properties

Count Count Count

Gets the number of QueryNotification objects in the collection.

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

Gets the QueryNotification at the specified index from the collection.

Methods

Add(QueryNotification) Add(QueryNotification) Add(QueryNotification)

Adds a QueryNotification to the end of the collection.

AddRange(ICollection) AddRange(ICollection) AddRange(ICollection)

Adds the elements of a ICollection to the end of the collection.

Clear() Clear() Clear()

Removes all elements from the collection.

Contains(QueryNotification) Contains(QueryNotification) Contains(QueryNotification)

Determines whether the specified QueryNotification is in the collection.

CopyTo(Array, Int32) CopyTo(Array, Int32) CopyTo(Array, Int32)

Copies the entire collection to a compatible one-dimensional Array, starting at the specified index of the target array.

IndexOf(QueryNotification) IndexOf(QueryNotification) IndexOf(QueryNotification)

Gets the index of a specified QueryNotification.

Insert(Int32, QueryNotification) Insert(Int32, QueryNotification) Insert(Int32, QueryNotification)

Inserts a QueryNotification into the collection at the specified index.

Remove(QueryNotification) Remove(QueryNotification) Remove(QueryNotification)

Removes the specified QueryNotification from the collection.

RemoveAt(Int32) RemoveAt(Int32) RemoveAt(Int32)

Removes the QueryNotification at the specified index from the collection.

Explicit Interface Implementations

ICollection.IsSynchronized ICollection.IsSynchronized ICollection.IsSynchronized

Gets a value that indicates whether access to the QueryNotificationCollection is synchronized.

ICollection.SyncRoot ICollection.SyncRoot ICollection.SyncRoot

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

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

Returns an enumerator that iterates through a collection.

IList.Add(Object) IList.Add(Object) IList.Add(Object)

Adds an item to the collection.

IList.Contains(Object) IList.Contains(Object) IList.Contains(Object)

Indicates whether the collection contains a specific value.

IList.IndexOf(Object) IList.IndexOf(Object) IList.IndexOf(Object)

Determines the index of a specific item in the collection.

IList.Insert(Int32, Object) IList.Insert(Int32, Object) IList.Insert(Int32, Object)

Inserts an item to the collection at the specified index.

IList.IsFixedSize IList.IsFixedSize IList.IsFixedSize

Gets a value that indicates whether the collection has a fixed size.

IList.IsReadOnly IList.IsReadOnly IList.IsReadOnly

Gets a value that indicates whether this QueryNotificationCollection is read-only.

IList.Item[Int32] IList.Item[Int32] IList.Item[Int32]

Gets or sets the element at the specified index.

IList.Remove(Object) IList.Remove(Object) IList.Remove(Object)

Removes the first occurrence of a specified object from the collection.

Applies to