DynamicContextSettings.ContextItem PropertyDynamicContextSettings.ContextItem PropertyDynamicContextSettings::ContextItem Property

Gets or sets the initial context item.

Syntax

Public Property ContextItem As System.Xml.XPath.XPathItem
        Get
        Set(ByVal value As System.Xml.XPath.XPathItem)
public System.Xml.XPath.XPathItem ContextItem { get; set; }
public:
property System.Xml.XPath::XPathItem^ ContextItem {
    System.Xml.XPath::XPathItem^ get();
    void set(System.Xml.XPath::XPathItem^ value);
}
 

Property Value

Type: System.Xml.XPath.XPathItemSystem.Xml.XPath.XPathItemSystem.Xml.XPath::XPathItem^

An XPathItemXPathItemXPathItem representing the initial context item, or null a null reference (Nothing in Visual Basic) nullptr if no context item has been set.

Remarks

The default value is null a null reference (Nothing in Visual Basic) nullptr.

If this property is set to a XPathNavigatorXPathNavigatorXPathNavigator the value is first cloned.