Share via


ContentIterator.Cancelled property

Gets a flag that indicates whether the iteration was canceled.

Namespace:  Microsoft.Office.Server.Utilities
Assembly:  Microsoft.Office.Server (in Microsoft.Office.Server.dll)

Syntax

'Declaration
Public ReadOnly Property Cancelled As Boolean
    Get
'Usage
Dim instance As ContentIterator
Dim value As Boolean

value = instance.Cancelled
public bool Cancelled { get; }

Property value

Type: System.Boolean
Returns Boolean.

Remarks

The Cancel flag of the current iteration scope and all parent iteration scopes is checked with each iteration element processed. At the time that Cancel is set to true, Cancelled will not yet be true until the ShouldCancel(IterationGranularity) method is called.

See also

Reference

ContentIterator class

ContentIterator members

Microsoft.Office.Server.Utilities namespace