DiscoveryExceptionDictionary.Values Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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];
myExceptionDictionary.Values.CopyTo((Array)myCollectionArray,0);
Console.WriteLine(" Values are :");
foreach(object myObj in myCollectionArray)
{
   Console.WriteLine(" " + myObj.ToString());
}

.NET Framework
Available since 1.1
Return to top
Show: