System.Web.Services.Description.ServiceDescriptionFormatExtensionCollection.Find Method

Searches the System.Web.Services.Description.ServiceDescriptionFormatExtensionCollection for a member with the specified name and namespace URI.

Syntax

public System.Xml.XmlElement Find (string name, string ns)

Parameters

name
The name of the System.Xml.XmlElement to be found.
ns
The XML namespace URI of the System.Xml.XmlElement to be found.

Returns

If the search is successful, an System.Xml.XmlElement; otherwise, null.

Remarks

This method searches the collection in index order, and returns the first System.Xml.XmlElement that meets the criteria of the two parameters.

Requirements

Namespace: System.Web.Services.Description
Assembly: System.Web.Services (in System.Web.Services.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0