SeekableXPathNavigator.GetName(Int64) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.