Okapi .NET Library

IUtilitySet.NeedRoot Method 

 [This is preliminary documentation and subject to change.]

Queries whether the current utility needs to have a root defined for a specific input list.

[Visual Basic]
Function NeedRoot( _ 
   ByVal p_nInputList As Integer _ 
) As Boolean
bool NeedRoot(
   int p_nInputList
bool NeedRoot(
   int p_nInputList
function NeedRoot(
   int p_nInputList
): bool;


Index of the specified input list. The index is zero-based.

Return Value

True if the current utility requires a root to be set for the specified input list.


You can use the SetRoot method to specify the root. GetCurrentUtility

See Also

IUtilitySet Interface | Okapi.Library.Utility Namespace | SetRoot