DiscoveryClientDocumentCollection::Item Property (String^)
.NET Framework (current version)
Gets or sets a client discovery document object from the DiscoveryClientDocumentCollection with the specified URL.
Assembly: System.Web.Services (in System.Web.Services.dll)
public: property Object^ default[ String^ url ] { Object^ get(String^ url); void set(String^ url, Object^ value); }
Parameters
- url
-
Type:
System::String^
The URL of the discovery document to get or set from the DiscoveryClientDocumentCollection.
Property Value
Type: System::Object^An Object representing the document discovered and downloaded to the client. The underlying type of the object can be a ServiceDescription, XmlSchema, or DiscoveryDocument.
| Exception | Condition |
|---|---|
| ArgumentNullException | url is null. |
The following code example outputs to the console the type of the discovery document in the DiscoveryClientDocumentCollection that has a URL matching the value of the myStringUrl variable.
.NET Framework
Available since 1.1
Available since 1.1
Show: