ערוך

שתף באמצעות


TypeConverter.StandardValuesCollection Class

Definition

Represents a collection of values.

public: ref class TypeConverter::StandardValuesCollection : System::Collections::ICollection
public class TypeConverter.StandardValuesCollection : System.Collections.ICollection
type TypeConverter.StandardValuesCollection = class
    interface ICollection
    interface IEnumerable
Public Class TypeConverter.StandardValuesCollection
Implements ICollection
Inheritance
TypeConverter.StandardValuesCollection
Implements

Remarks

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.

Constructors

TypeConverter.StandardValuesCollection(ICollection)

Initializes a new instance of the TypeConverter.StandardValuesCollection class.

Properties

Count

Gets the number of objects in the collection.

Item[Int32]

Gets the object at the specified index number.

Methods

CopyTo(Array, Int32)

Copies the contents of this collection to an array.

Equals(Object)

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

(Inherited from Object)
GetEnumerator()

Returns an enumerator for this collection.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

ICollection.CopyTo(Array, Int32)

Copies the contents of this collection to an array.

ICollection.Count

For a description of this member, see Count.

ICollection.IsSynchronized

For a description of this member, see IsSynchronized.

ICollection.SyncRoot

For a description of this member, see SyncRoot.

IEnumerable.GetEnumerator()

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

Extension Methods

Cast<TResult>(IEnumerable)

Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable)

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

AsParallel(IEnumerable)

Enables parallelization of a query.

AsQueryable(IEnumerable)

Converts an IEnumerable to an IQueryable.

Applies to

See also