TypeElementCollection.IndexOf(TypeElement) Method    
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the zero-based index of a specified TypeElement in the collection.
public:
 int IndexOf(System::Web::Services::Configuration::TypeElement ^ element);public int IndexOf(System.Web.Services.Configuration.TypeElement element);member this.IndexOf : System.Web.Services.Configuration.TypeElement -> intPublic Function IndexOf (element As TypeElement) As IntegerParameters
- element
- TypeElement
The TypeElement to find in the collection.
Returns
The zero-based index of the specified TypeElement, or -1 if the element was not found in the collection.