## XsltContext::ResolveVariable method


When overridden in a derived class, resolves a variable reference and returns an [IXsltContextVariable](../../ixsltcontextvariable/) representing the variable.

```cpp
virtual SharedPtr<IXsltContextVariable> System::Xml::Xsl::XsltContext::ResolveVariable(String prefix, String name)=0
```


| Parameter | Type | Description |
| --- | --- | --- |
| prefix | String | The prefix of the variable as it appears in the [XPath](../../../system.xml.xpath/) expression. |
| name | String | The name of the variable. |

### ReturnValue

An [IXsltContextVariable](../../ixsltcontextvariable/) representing the variable at runtime.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [IXsltContextVariable](../../ixsltcontextvariable/)
* Class [String](../../../system/string/)
* Class [XsltContext](../)
* Namespace [System::Xml::Xsl](../../)
* Library [Aspose.PDF for C++](../../../)
