ServiceDescriptionCollection::Item Property (String^)

 

Gets a ServiceDescription specified by its TargetNamespace property.

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

public:
property ServiceDescription^ default[
	String^ ns
] {
	ServiceDescription^ get(String^ ns);
}

Parameters

ns
Type: System::String^

The namespace of the ServiceDescription returned.

Property Value

Type: System.Web.Services.Description::ServiceDescription^

A ServiceDescription specified by its namespace property.

// Get a ServiceDescription in the collection using 
// the Item property.
ServiceDescription^ myServiceDescription = myCollection[ "http://tempuri1.org/" ];

.NET Framework
Available since 1.1
Return to top
Show: