BaseGetAllValues Method (Type)
Collapse the table of content
Expand the table of content

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)

member BaseGetAllValues : 
        type:Type -> Object[]

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:
© 2016 Microsoft