Edit

Share via


SeekableXPathNavigator.GetName(Int64) Method

Definition

When overridden in a derived class, returns the name of the node at the specified position.

public:
 abstract System::String ^ GetName(long nodePosition);
public abstract string GetName (long nodePosition);
abstract member GetName : int64 -> string
Public MustOverride Function GetName (nodePosition As Long) As String

Parameters

nodePosition
Int64

The position of the node whose name is being retrieved.

Returns

The name of the node at nodePosition. Empty is returned if the node does not have a name.

Exceptions

nodePosition is invalid.

Remarks

The name is the name of the XML element at nodePosition and typically includes a namespace prefix.

Applies to