Method CreateOccurrence
CreateOccurrence(string, uint)
Create a new occurrence
Declaration
[HandleProcessCorruptedStateExceptions]
public uint CreateOccurrence(string name, uint parent = 0)
Parameters
| Type | Name | Description | 
|---|---|---|
| string | name | Name of the new occurrence  | 
    
| uint | parent | Create the occurrence as a child of parent, if not set the parent will be root  | 
    
Returns
| Type | Description | 
|---|---|
| uint |