IXsltContextVariable.Evaluate(XsltContext) 方法

定义

在运行时计算变量并返回表示变量值的对象。Evaluates the variable at runtime and returns an object that represents the value of the variable.

public:
 System::Object ^ Evaluate(System::Xml::Xsl::XsltContext ^ xsltContext);
public object Evaluate (System.Xml.Xsl.XsltContext xsltContext);
abstract member Evaluate : System.Xml.Xsl.XsltContext -> obj
Public Function Evaluate (xsltContext As XsltContext) As Object

参数

xsltContext
XsltContext

一个 XsltContext,它表示变量的执行上下文。An XsltContext representing the execution context of the variable.

返回

Object

一个 Object,它表示变量的值。An Object representing the value of the variable. 可能的返回类型包括数字、字符串、布尔值、文档片段或节点集。Possible return types include number, string, Boolean, document fragment, or node set.

适用于