DiscoveryExceptionDictionary.Values Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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 ICollection Values { get; }

Property Value

Type: System.Collections.ICollection

An ICollection containing the values in the DiscoveryExceptionDictionary.

object[] myCollectionArray = new object[myExceptionDictionary.Count];
Console.WriteLine(" Values are :");
foreach(object myObj in myCollectionArray)
   Console.WriteLine(" " + myObj.ToString());

.NET Framework
Available since 1.1
Return to top