DeclaredTypeElementCollection::IndexOf Method (DeclaredTypeElement^)
.NET Framework (current version)
This API supports the product infrastructure and is not intended to be used directly from your code.
Returns the position of the specified configuration element.
Assembly: System.Runtime.Serialization (in System.Runtime.Serialization.dll)
Parameters
- element
-
Type:
System.Runtime.Serialization.Configuration::DeclaredTypeElement^
The element to find in the collection.
| Exception | Condition |
|---|---|
| ArgumentNullException | The element argument is null. |
.NET Framework
Available since 3.0
Available since 3.0
Show: