NameObjectCollectionBase.BaseGetAllValues Method (Type)

 

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: