XmlAnyElementAttributes.IndexOf(XmlAnyElementAttribute) 方法

定義

取得指定 XmlAnyElementAttribute 的索引。

public:
 int IndexOf(System::Xml::Serialization::XmlAnyElementAttribute ^ attribute);
public int IndexOf (System.Xml.Serialization.XmlAnyElementAttribute attribute);
public int IndexOf (System.Xml.Serialization.XmlAnyElementAttribute? attribute);
member this.IndexOf : System.Xml.Serialization.XmlAnyElementAttribute -> int
Public Function IndexOf (attribute As XmlAnyElementAttribute) As Integer

參數

attribute
XmlAnyElementAttribute

您想要其索引的 XmlAnyElementAttribute

傳回

Int32

指定之 XmlAnyElementAttribute 的索引。

適用於