PropertyCollection.System.Collections.IDictionary.Keys プロパティ
アセンブリ: System.DirectoryServices (system.directoryservices.dll 内)

Private ReadOnly Property System.Collections.IDictionary.Keys As ICollection Implements IDictionary.Keys
Dim instance As PropertyCollection Dim value As ICollection value = CType(instance, IDictionary).Keys
private: virtual property ICollection^ System.Collections.IDictionary.Keys { ICollection^ get () sealed = IDictionary::Keys::get; }
IDictionary オブジェクトのキーを保持している ICollection オブジェクト。


Keys プロパティを実装する方法の例を次に示します。このコード例は、IDictionary クラスのトピックで取り上げているコード例の一部です。
Public ReadOnly Property Keys() As ICollection Implements IDictionary.Keys Get ' Return an array where each item is a key. Dim keyArray() As Object = New Object(ItemsInUse - 1) {} Dim n As Integer For n = 0 To ItemsInUse - 1 keyArray(n) = items(n).Key Next n Return keyArray End Get End Property

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からPropertyCollection.System.Collections.IDictionary.Keys プロパティを検索する場合は、下記のリンクをクリックしてください。

- PropertyCollection.System.Collections.IDictionary.Keys プロパティのページへのリンク