DiscoveryExceptionDictionary.Keys Property


Gets a System.Collections.ICollection object with all the keys in the DiscoveryExceptionDictionary.

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

public ICollection Keys { get; }

Property Value

Type: System.Collections.ICollection

An ICollection containing the keys of the DiscoveryExceptionDictionary.

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

.NET Framework
Available since 1.1
Return to top