XPathMessageContext.CompareDocument(String, String) 方法
定义
根据 XSLT 处理器加载文档的顺序对两个文档的基统一资源标识符 (URI) 进行比较。Compares the base Uniform Resource Identifiers (URIs) of two documents based upon the order the documents were loaded by the XSLT processor.
public:
override int CompareDocument(System::String ^ baseUri, System::String ^ nextBaseUri);
public override int CompareDocument (string baseUri, string nextBaseUri);
override this.CompareDocument : string * string -> int
Public Overrides Function CompareDocument (baseUri As String, nextBaseUri As String) As Integer
参数
- baseUri
- String
要比较的第一个文档的基 URI。The base URI of the first document to compare.
- nextBaseUri
- String
要比较的第二个文档的基 URI。The base URI of the second document to compare.
返回
始终返回 0。Always returns 0.
注解
此属性应在派生的类中重写,然后才可以使用。This property should be overridden in a derived class in order to be used.