SeekableXPathNavigator::GetValue Method (Int64)

 

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

Namespace:   System.ServiceModel.Dispatcher
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public:
virtual String^ GetValue(
	long long nodePosition
) abstract

Parameters

nodePosition
Type: System::Int64

The position of the node whose text value is being retrieved.

Return Value

Type: System::String^

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

Exception Condition
ArgumentException

nodePosition is invalid.

For elements, this method returns the concatenation of all text descendents of the node at the specified position, similar to the InnerText property.

.NET Framework
Available since 3.0
Return to top
Show: