Freigeben über


NameObjectCollectionBase.Keys-Eigenschaft

Ruft eine NameObjectCollectionBase.KeysCollection-Instanz ab, die alle Schlüssel der NameObjectCollectionBase-Instanz enthält.

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

Syntax

'Declaration
Public Overridable ReadOnly Property Keys As KeysCollection
'Usage
Dim instance As NameObjectCollectionBase
Dim value As KeysCollection

value = instance.Keys
public virtual KeysCollection Keys { get; }
public:
virtual property KeysCollection^ Keys {
    KeysCollection^ get ();
}
/** @property */
public KeysCollection get_Keys ()
public function get Keys () : KeysCollection

Eigenschaftenwert

Eine NameObjectCollectionBase.KeysCollection-Instanz, die alle Schlüssel der NameObjectCollectionBase-Instanz enthält.

Hinweise

Das Abrufen des Werts dieser Eigenschaft ist eine O(1)-Operation.

Plattformen

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile für Pocket PC, Windows Mobile für Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0, 1.1, 1.0

.NET Compact Framework

Unterstützt in: 2.0, 1.0

Siehe auch

Referenz

NameObjectCollectionBase-Klasse
NameObjectCollectionBase-Member
System.Collections.Specialized-Namespace