Method CreateOccurrences
CreateOccurrences(string, OccurrenceList)
Create one new occurrence under each given parent
Declaration
[HandleProcessCorruptedStateExceptions]
public OccurrenceList CreateOccurrences(string name, OccurrenceList parents = null)
Parameters
| Type | Name | Description | 
|---|---|---|
| string | name | Name of the new occurrence  | 
    
| OccurrenceList | parents | Create the occurrences as a child of each parent. If empty, one occurrence will be created with root as parent  | 
    
Returns
| Type | Description | 
|---|---|
| OccurrenceList |