DiscoveryClientReferenceCollection.Values プロパティ
アセンブリ: System.Web.Services (system.web.services.dll 内)
構文DiscoveryClientReferenceCollection 内の値を格納している ICollection。
使用例' Retrieve the values in the collection. Dim myCollection1 As ICollection = myDiscoveryClientReferenceCollection.Values Dim myObjectCollection1(myDiscoveryClientReferenceCollection.Count) As Object myCollection1.CopyTo(myObjectCollection1, 0) Console.WriteLine("The objects in the collection are:") For iIndex = 0 To myObjectCollection1.Length - 1 Console.WriteLine(myObjectCollection1(iIndex)) Next iIndex
// Retrieve the values in the collection. ICollection myCollection1 = myDiscoveryClientReferenceCollection.Values; object[] myObjectCollection1 = new object[myDiscoveryClientReferenceCollection.Count]; myCollection1.CopyTo(myObjectCollection1, 0); Console.WriteLine("The objects in the collection are:"); for (int iIndex=0; iIndex < myObjectCollection1.Length; iIndex++) { Console.WriteLine(myObjectCollection1[iIndex]); }
// Retrieve the values in the collection. ICollection^ myCollection1 = myDiscoveryClientReferenceCollection->Values; array<Object^>^myObjectCollection1 = gcnew array<Object^>(myDiscoveryClientReferenceCollection->Count); myCollection1->CopyTo( myObjectCollection1, 0 ); Console::WriteLine( "The objects in the collection are:" ); for ( int iIndex = 0; iIndex < myObjectCollection1->Length; iIndex++ ) { Console::WriteLine( myObjectCollection1[ 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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
バージョン情報
参照- DiscoveryClientReferenceCollection.Values プロパティのページへのリンク