XsltContext.ResolveVariable Method (String, String)

 

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

Namespace:   System.Xml.Xsl
Assembly:  System.Xml (in System.Xml.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.

.NET Framework
Available since 1.1
Silverlight
Available since 4.0
Return to top
Show: