DiscoveryClientDocumentCollection.Keys プロパティ
アセンブリ: System.Web.Services (system.web.services.dll 内)

DiscoveryClientDocumentCollection のキーを保持している ICollection。

DiscoveryClientDocumentCollection 内のキーをコンソールに出力するコード例を次に示します。
Dim myCollection As ICollection = myDiscoveryClientDocumentCollection.Keys Dim myObjectCollection(myDiscoveryClientDocumentCollection.Count-1) As Object myCollection.CopyTo(myObjectCollection, 0) Console.WriteLine("The discovery documents in the collection are :") Dim iIndex As Integer For iIndex = 0 To myObjectCollection.Length - 1 Console.WriteLine(myObjectCollection(iIndex)) Next iIndex
ICollection myCollection = myDiscoveryClientDocumentCollection.Keys; object[] myObjectCollection = new object[myDiscoveryClientDocumentCollection.Count]; myCollection.CopyTo(myObjectCollection, 0); Console.WriteLine("The discovery documents in the collection are :"); for (int iIndex=0; iIndex < myObjectCollection.Length; iIndex++) { Console.WriteLine(myObjectCollection[iIndex]); }
ICollection^ myCollection = myDiscoveryClientDocumentCollection->Keys; array<Object^>^myObjectCollection = gcnew array<Object^>(myDiscoveryClientDocumentCollection->Count); myCollection->CopyTo( myObjectCollection, 0 ); Console::WriteLine( "The discovery documents in the collection are :" ); for ( int iIndex = 0; iIndex < myObjectCollection->Length; iIndex++ ) Console::WriteLine( myObjectCollection[ iIndex ] );

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に収録されているすべての辞書からDiscoveryClientDocumentCollection.Keys プロパティを検索する場合は、下記のリンクをクリックしてください。

- DiscoveryClientDocumentCollection.Keys プロパティのページへのリンク