TypeConverter.StandardValuesCollection TypeConverter.StandardValuesCollection TypeConverter.StandardValuesCollection Class


Represents a collection of values.

public: ref class TypeConverter::StandardValuesCollection : System::Collections::ICollection
public class TypeConverter.StandardValuesCollection : System.Collections.ICollection
Public Class TypeConverter.StandardValuesCollection
Implements ICollection


This is a simple collection class that takes an array of values and converts it to a collection. It is lightweight and is well suited for use in GetStandardValues.


TypeConverter.StandardValuesCollection(ICollection) TypeConverter.StandardValuesCollection(ICollection) TypeConverter.StandardValuesCollection(ICollection)

Initializes a new instance of the TypeConverter.StandardValuesCollection class.


Count Count Count

Gets the number of objects in the collection.

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

Gets the object at the specified index number.


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

Copies the contents of this collection to an array.

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

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

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

Returns an enumerator for this collection.

GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

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

Gets the Type of the current instance.

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

Creates a shallow copy of the current Object.

(Inherited from Object)
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)

Copies the contents of this collection to an array.

ICollection.Count ICollection.Count ICollection.Count

For a description of this member, see Count.

ICollection.IsSynchronized ICollection.IsSynchronized ICollection.IsSynchronized

For a description of this member, see IsSynchronized.

ICollection.SyncRoot ICollection.SyncRoot ICollection.SyncRoot

For a description of this member, see SyncRoot.

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

For a description of this member, see GetEnumerator().

Extension Methods

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)

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

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

Enables parallelization of a query.

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

Converts an IEnumerable to an IQueryable.

Applies to

See Also