DeclaredTypeElementCollection.IndexOf(DeclaredTypeElement) 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 position of the specified configuration 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::DeclaredTypeElement ^ element);
public int IndexOf (System.Runtime.Serialization.Configuration.DeclaredTypeElement element);
member this.IndexOf : System.Runtime.Serialization.Configuration.DeclaredTypeElement -> int
Public Function IndexOf (element As DeclaredTypeElement) As Integer
Parameters
- element
- DeclaredTypeElement
The element to find in the collection.
Returns
The index of the specified configuration element; otherwise, -1.
Exceptions
The element
argument is null
.
Applies to
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.