Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DiscoveryExceptionDictionary::Values Property

 

Gets a System.Collections::ICollection object containing all the values in the DiscoveryExceptionDictionary.

Namespace:   System.Web.Services.Discovery
Assembly:  System.Web.Services (in System.Web.Services.dll)

public:
property ICollection^ Values {
	ICollection^ get();
}

Property Value

Type: System.Collections::ICollection^

An ICollection containing the values in the DiscoveryExceptionDictionary.

array<Object^>^myCollectionArray = gcnew array<Object^>(myExceptionDictionary->Count);
myExceptionDictionary->Values->CopyTo( (Array^)myCollectionArray, 0 );
Console::WriteLine( " Values are :" );
for each(Object^ myObj in myCollectionArray)
{
   Console::WriteLine(" " + myObj->ToString());
}

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft