[This is preliminary documentation and is subject to change.]

Gets value indicating if circles in references of objects are allowed.

Namespace: Tools.XmlT.XPathT
Assembly: Tools (in Tools.dll) Version: 1.5.3.38916 (1.5.3.38916)

Syntax

C#
public bool AllowCircles { get; }
Visual Basic
Public ReadOnly Property AllowCircles As Boolean
	Get
Visual C++
public:
property bool AllowCircles {
	bool get ();
}
F#
member AllowCircles : bool
JScript
function get AllowCircles () : boolean

Remarks

This property can be set only via CTor

Circle is detected when MoveToFirstChild()()()() is invoked and ContextObject reference equals to context object of any of steps in Location. If AllowCircles is False in such situation than MoveToFirstChild()()()() returns false. In XPath you can detect circle references by testing the circle-level pseudo-attribute. The circle-level attribute contains number of steps upwards (in parent axis) to reach same context object as is current ContextObject.

See Also