TypeElementCollection.IndexOf(TypeElement) Method

Definition

Returns the position of the specified element.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 int IndexOf(System::Runtime::Serialization::Configuration::TypeElement ^ element);
public int IndexOf (System.Runtime.Serialization.Configuration.TypeElement element);
member this.IndexOf : System.Runtime.Serialization.Configuration.TypeElement -> int
Public Function IndexOf (element As TypeElement) As Integer

Parameters

element
TypeElement

The TypeElement to find in the collection.

Returns

The position of the specified element.

Applies to