Udostępnij za pośrednictwem


XsltContext.ResolveVariable Method

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

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)

Syntax

'Declaration
Public MustOverride Function ResolveVariable ( _
    prefix As String, _
    name As String _
) As IXsltContextVariable
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.

Return Value

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

Remarks

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

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.