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)

Syntax

Visual Basic (Declaration)
ReadOnly Property ElementCount As Integer
C#
int ElementCount { get; }
C++
property int ElementCount abstract  {
    int get();
}
J#
/** property */
public int get_ElementCount();
JScript
public function get ElementCount() : int

Property Value

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

Exceptions

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

See Also