SeekableXPathNavigator.GetValue(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 text value of the node at the specified position.
public:
abstract System::String ^ GetValue(long nodePosition);
public abstract string GetValue (long nodePosition);
abstract member GetValue : int64 -> string
Public MustOverride Function GetValue (nodePosition As Long) As String
Parameters
- nodePosition
- Int64
The position of the node whose text value is being retrieved.
Returns
The text value of the node at nodePosition
. Empty is returned if the node does not have a text value.
Exceptions
nodePosition
is invalid.
Remarks
For elements, this method returns the concatenation of all text descendents of the node at the specified position, similar to the InnerText property.