SeekableXPathNavigator.ComparePosition(Int64, Int64) Method
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 a value that describes the document order of the two specified positions.
public:
abstract System::Xml::XmlNodeOrder ComparePosition(long firstPosition, long secondPosition);
public abstract System.Xml.XmlNodeOrder ComparePosition (long firstPosition, long secondPosition);
override this.ComparePosition : int64 * int64 -> System.Xml.XmlNodeOrder
Public MustOverride Function ComparePosition (firstPosition As Long, secondPosition As Long) As XmlNodeOrder
- firstPosition
- Int64
The first position in the comparison.
- secondPosition
- Int64
The second position in the comparison.
One of the XmlNodeOrder values that describes the relation of firstPosition
to secondPosition
in the document.
firstPosition
or secondPosition
is not valid.
This method should throw an exception for invalid position values.
제품 | 버전 |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET 피드백
.NET은(는) 오픈 소스 프로젝트입니다. 다음 링크를 선택하여 피드백을 제공해 주세요.