Okapi .NET Library

IUtilitySet.SetRoot Method 

 [This is preliminary documentation and subject to change.]

Sets the root for a specified input list.

[Visual Basic]
Sub SetRoot( _ 
   ByVal p_nInputList As Integer, _ 
   ByVal p_sRoot As String _ 
)
[C#]
void SetRoot(
   int p_nInputList,
   string p_sRoot
);
[C++]
void SetRoot(
   int p_nInputList,
   String* p_sRoot
);
[JScript]
function SetRoot(
   int p_nInputList,
   String p_sRoot
);

Parameters

p_nInputList
Index of the specified input list. The index is zero-based.
p_sRoot
path root to set.

Remarks

Use the method to set the root for a specified input list. A call to the NeedRoot method will tell you if a root is required. NeedRoot

See Also

IUtilitySet Interface | Okapi.Library.Utility Namespace | GetCurrentUtility