IXsltContextVariable Interface

Provides an interface to a given variable that is defined in the style sheet during runtime execution.

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

public interface IXsltContextVariable

The IXsltContextVariable type exposes the following members.

Public propertyIsLocalGets a value indicating whether the variable is local.
Public propertyIsParamGets a value indicating whether the variable is an Extensible Stylesheet Language Transformations (XSLT) parameter. This can be a parameter to a style sheet or a template.
Public propertyVariableTypeGets the XPathResultType representing the XML Path Language (XPath) type of the variable.

Public methodEvaluateEvaluates the variable at runtime and returns an object that represents the value of the variable.

For more information on using IXsltContextVariable , see article Q324899, "HOW TO: Implement and Use Custom Functions When You Execute XPath Queries in Visual Basic .NET" in the Microsoft Knowledge Base at http://support.microsoft.com.


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