Export (0) Print
Expand All

XmlDictionaryReader.IndexOfLocalName Method (XmlDictionaryString[], XmlDictionaryString)

Gets the index of the local name of the current node within an array of names.

Namespace: System.Xml
Assembly: System.Runtime.Serialization (in system.runtime.serialization.dll)

public virtual int IndexOfLocalName (
	XmlDictionaryString[] localNames,
	XmlDictionaryString namespaceUri
)
public int IndexOfLocalName (
	XmlDictionaryString[] localNames, 
	XmlDictionaryString namespaceUri
)
public function IndexOfLocalName (
	localNames : XmlDictionaryString[], 
	namespaceUri : XmlDictionaryString
) : int
Not applicable.

Parameters

localNames

The XmlDictionaryString array of local names to be searched.

namespaceUri

The namespace of current node.

Return Value

The index of the local name of the current node within an array of names.

Exception typeCondition

ArgumentNullException

localNames or any of the names in the array is a null reference (Nothing in Visual Basic).

ArgumentNullException

namespaceUri is a null reference (Nothing in Visual Basic).

localNames is an array of XmlDictionaryString, and namespaceUri is an XmlDictionaryString.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2014 Microsoft