NameObjectCollectionBase.BaseGetAllKeys Method ()

 

Returns a String array that contains all the keys in the NameObjectCollectionBase instance.

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

member BaseGetAllKeys : unit -> string[]

Return Value

Type: System.String[]

A String array that contains all the keys in the NameObjectCollectionBase instance.

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

The following code example uses BaseGetAllKeys and BaseGetAllValues to get an array of the keys or an array of the values.

No code example is currently available or this language may not be supported.

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