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: