次の方法で共有


IXsltContextVariable Interface

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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)

Syntax

'Declaration
Public Interface IXsltContextVariable
public interface IXsltContextVariable

The IXsltContextVariable type exposes the following members.

Properties

  Name Description
Public property IsLocal Gets a value indicating whether the variable is local.
Public property IsParam Gets 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 property VariableType Gets the XPathResultType representing the XML Path Language (XPath) type of the variable.

Top

Methods

  Name Description
Public method Evaluate Evaluates the variable at runtime and returns an object that represents the value of the variable.

Top

Remarks

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 https://support.microsoft.com.

Version Information

Silverlight

Supported in: 5, 4

Platforms

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

See Also

Reference