TopLevelNameCollection TopLevelNameCollection TopLevelNameCollection TopLevelNameCollection Class

Definition

The TopLevelNameCollection class is a read-only collection that contains TopLevelName objects.

public ref class TopLevelNameCollection : System::Collections::ReadOnlyCollectionBase
public class TopLevelNameCollection : System.Collections.ReadOnlyCollectionBase
type TopLevelNameCollection = class
    inherit ReadOnlyCollectionBase
Public Class TopLevelNameCollection
Inherits ReadOnlyCollectionBase
Inheritance
TopLevelNameCollectionTopLevelNameCollectionTopLevelNameCollectionTopLevelNameCollection

Properties

Count Count Count Count

Gets the number of elements contained in the ReadOnlyCollectionBase instance.

(Inherited from ReadOnlyCollectionBase)
ICollection.IsSynchronized ICollection.IsSynchronized ICollection.IsSynchronized ICollection.IsSynchronized

Gets a value indicating whether access to a ReadOnlyCollectionBase object is synchronized (thread safe).

(Inherited from ReadOnlyCollectionBase)
ICollection.SyncRoot ICollection.SyncRoot ICollection.SyncRoot ICollection.SyncRoot

Gets an object that can be used to synchronize access to a ReadOnlyCollectionBase object.

(Inherited from ReadOnlyCollectionBase)
InnerList InnerList InnerList InnerList

Gets the list of elements contained in the ReadOnlyCollectionBase instance.

(Inherited from ReadOnlyCollectionBase)
Item[Int32] Item[Int32] Item[Int32] Item[Int32]

The Item[Int32] property gets a TopLevelName object in this collection.

Methods

Contains(TopLevelName) Contains(TopLevelName) Contains(TopLevelName) Contains(TopLevelName)

Determines if the specified TopLevelName object is in this collection.

CopyTo(TopLevelName[], Int32) CopyTo(TopLevelName[], Int32) CopyTo(TopLevelName[], Int32) CopyTo(TopLevelName[], Int32)

Copies all TopLevelName objects in this collection to the specified array, starting at the specified index of the target array.

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

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

(Inherited from Object)
GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator()

Returns an enumerator that iterates through the ReadOnlyCollectionBase instance.

(Inherited from ReadOnlyCollectionBase)
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)
IndexOf(TopLevelName) IndexOf(TopLevelName) IndexOf(TopLevelName) IndexOf(TopLevelName)

Returns the index of the first occurrence of the specified TopLevelName object in this collection.

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)

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

(Inherited from ReadOnlyCollectionBase)

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