Okapi .NET Library

IFilterItem.GetLevel Method 

 [This is preliminary documentation and subject to change.]

Gets the level of grouping.

[Visual Basic]
Function GetLevel() As Integer
[C#]
int GetLevel();
[C++]
int GetLevel();
[JScript]
function GetLevel(): int;

Return Value

The level of grouping. The value starts at 0 (no group).

Remarks

The level indicator is incremented for each embedded group. The start group and end group items themselves are one level above the items inside the group they delimit. The first level (items not inside any group) is level 0.

See Also

IFilterItem Interface | Okapi.Library.Filter Namespace | SetLevel | GetGroupID