NameObjectCollectionBase.BaseGetAllValues Method (Type)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Returns an array of the specified type that contains all the values in the NameObjectCollectionBase instance.

Namespace:   System.Collections.Specialized
Assembly:  System (in System.dll)

protected object[] BaseGetAllValues(
	Type type
)

Parameters

type
Type: System.Type

A Type that represents the type of array to return.

Return Value

Type: System.Object[]

An array of the specified type that contains all the values in the NameObjectCollectionBase instance.

Exception Condition
ArgumentNullException

type is null.

ArgumentException

type is not a valid Type.

This method is an O(n) operation, where n is Count.

Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Return to top
Show: