  | SimpleTreeBaseTKey, TValueSetRoot Method (TKey, TValue, Boolean) | 
  
    Namespace: 
   Dynamicweb.Core
    Assembly:
   Dynamicweb.Core (in Dynamicweb.Core.dll) Version: 3.1.1
Syntaxpublic void SetRoot(
	TKey elementId,
	TValue element,
	bool isRootPartOfTree = false
)
Public Sub SetRoot ( 
	elementId As TKey,
	element As TValue,
	Optional isRootPartOfTree As Boolean = false
)
Parameters
- elementId
 - Type: TKey
 - element
 - Type: TValue
 - isRootPartOfTree (Optional)
 - Type: SystemBoolean
 
See Also