Returns the number of elements in the current page. The returned value is always equal to the value returned by GetCurrentPage().length. Use GetElementCount to avoid copying the potentially large internal array just to get its length.

Namespace:  FileNet.Api.Collection
Assembly:  FileNet.Api (in FileNet.Api.dll)

ToggleSyntax

Visual Basic (Declaration)
ReadOnly Property ElementCount As Integer
C#
int ElementCount { get; }
Visual C++
property int ElementCount {
	int get ();
}
JavaScript
function get_elementCount();

Return Value

An integer value for the number of elements in the current page.

ToggleExceptions

ExceptionCondition
FileNet.Api.Exception..::.EngineRuntimeException Thrown if the enumerator is positioned before the first page or after the last page, or between pages after a Reset(mark) operation.

ToggleSee Also