編輯

共用方式為


XsltContext.ResolveVariable(String, String) Method

Definition

When overridden in a derived class, resolves a variable reference and returns an IXsltContextVariable representing the variable.

public:
 abstract System::Xml::Xsl::IXsltContextVariable ^ ResolveVariable(System::String ^ prefix, System::String ^ name);
public abstract System.Xml.Xsl.IXsltContextVariable ResolveVariable (string prefix, string name);
abstract member ResolveVariable : string * string -> System.Xml.Xsl.IXsltContextVariable
Public MustOverride Function ResolveVariable (prefix As String, name As String) As IXsltContextVariable

Parameters

prefix
String

The prefix of the variable as it appears in the XPath expression.

name
String

The name of the variable.

Returns

An IXsltContextVariable representing the variable at runtime.

Remarks

The IXsltContextVariable is used at execution time to get the value of the variable.

Applies to