แก้ไข

แชร์ผ่าน


SeekableXPathNavigator.GetValue(Int64) Method

Definition

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.

Applies to