XsltLibrary.RelationalOperator Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Évalue si l’expression left est supérieure ou égale à, ou inférieure ou égale à, l’expression right basée sur le opCode passé.
Cette API prend en charge l'infrastructure du produit et n'est pas destinée à être utilisée directement à partir de votre code.
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
Paramètres
- opCode
- Double
Spécifie comment effectuer l’évaluation de deux expressions :
Si opCode est égal à 2, évalue l’expression XPath « gauche < droite ».
Si opCode est égal à 3, évalue l’expression XPath « left <= right ».
Si opCode est égal à 4, évalue l’expression XPath « gauche > droite ».
Si opCode est égal à 5, évalue l’expression XPath « left >= right »
Retours
Valeur booléenne true si l’expression de gauche est supérieure ou égale à l’expression droite.