Dela via


XmlNodeList.IndexOf(IXmlNode, UInt32) Method

Definition

Returns the index of a specified item in the vector.

public:
 virtual bool IndexOf(IXmlNode ^ value, [Out] unsigned int & index) = IVectorView<IXmlNode ^>::IndexOf;
bool IndexOf(IXmlNode const& value, [Out] uint32_t & index);
public bool IndexOf(IXmlNode value, out uint index);
Public Function IndexOf (value As IXmlNode, ByRef index As UInteger) As Boolean

Parameters

value
IXmlNode

The item to find in the vector.

index
UInt32

unsigned int

uint32_t

The zero-based index of the item if found. Zero is returned if the item is not found.

Returns

Boolean

bool

TRUE if the item is found; otherwise, FALSE if the item is not found.

Implements

M:Windows.Foundation.Collections.IVectorView1.IndexOf(0,System.UInt32@) M:Windows.Foundation.Collections.IVectorView1.IndexOf(0,unsigned int@) M:Windows.Foundation.Collections.IVectorView1.IndexOf(0,uint32_t@)

Applies to