DiscoveryClientDocumentCollection::Keys Property
.NET Framework (current version)
Gets an System.Collections::ICollection object with all the keys in the DiscoveryClientDocumentCollection.
Assembly: System.Web.Services (in System.Web.Services.dll)
Property Value
Type: System.Collections::ICollection^An ICollection containing the keys of the DiscoveryClientDocumentCollection.
The following code example outputs the keys within the DiscoveryClientDocumentCollection to the console.
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 ] );
.NET Framework
Available since 1.1
Available since 1.1
Show: