XsltLibrary.RelationalOperator Yöntem

Tanım

İfadenin left geçirilen ifadeye göre right ifadeden büyük mü yoksa buna eşit mi yoksa ondan küçük mü yoksa buna eşit opCode mi olduğunu değerlendirir.

Bu API, ürün altyapısını destekler ve doğrudan kodunuzdan kullanıma yönelik değildir.

public:
 bool RelationalOperator(double opCode, System::Collections::Generic::IList<System::Xml::XPath::XPathItem ^> ^ left, System::Collections::Generic::IList<System::Xml::XPath::XPathItem ^> ^ right);
public bool RelationalOperator(double opCode, System.Collections.Generic.IList<System.Xml.XPath.XPathItem> left, System.Collections.Generic.IList<System.Xml.XPath.XPathItem> right);
member this.RelationalOperator : double * System.Collections.Generic.IList<System.Xml.XPath.XPathItem> * System.Collections.Generic.IList<System.Xml.XPath.XPathItem> -> bool
Public Function RelationalOperator (opCode As Double, left As IList(Of XPathItem), right As IList(Of XPathItem)) As Boolean

Parametreler

opCode
Double

İki ifadenin değerlendirilmesinin nasıl yapılacağını belirtir:

opCode 2'ye eşitse, XPath ifadesini "sol < sağ" olarak değerlendirir.

opCode 3'e eşitse, "sol <= sağ" XPath ifadesini değerlendirir.

opCode 4'e eşitse, XPath ifadesini "sol > sağ" olarak değerlendirir.

opCode 5'e eşitse, "sol >= sağ" XPath ifadesini değerlendirir

left
IList<XPathItem>

Değerlendirilecek ifade.

right
IList<XPathItem>

Değerlendirilecek ifade.

Döndürülenler

Sol ifade sağ ifadeden büyük veya buna eşitse true olan boole değeri.

Şunlara uygulanır