Share via


SchemaImporterExtensionElementCollection.IndexOf 方法

定义

返回集合中具有指定值的第一个元素的从零开始的索引。

此 API 支持产品基础结构,不能在代码中直接使用。

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

参数

返回

找到的元素的索引。

适用于