NameObjectCollectionBase.BaseHasKeys Method ()

 

Gets a value indicating whether the NameObjectCollectionBase instance contains entries whose keys are not null.

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

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

Return Value

Type: System.Boolean

true if the NameObjectCollectionBase instance contains entries whose keys are not null; otherwise, false.

This method is an O(1) operation.

The following code example uses BaseHasKeys to determine if the collection contains keys that are not null.

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: