ResolveVariable Method

XsltContext.ResolveVariable Method

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

Namespace:  System.Xml.Xsl
Assembly:  System.Xml.XPath (in System.Xml.XPath.dll)

public abstract IXsltContextVariable ResolveVariable(
	string prefix,
	string name
)

Parameters

prefix
Type: System.String
The prefix of the variable as it appears in the XPath expression.
name
Type: System.String
The name of the variable.

Return Value

Type: System.Xml.Xsl.IXsltContextVariable
An IXsltContextVariable representing the variable at runtime.

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

Silverlight

Supported in: 5, 4

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2016 Microsoft