Method AddSubset
AddSubset(string, string, int)
Adds a subset to this group.
public CadSheetSubset AddSubset(string name, string description = null, int index = -1)
Parameters
namestringThe name.
descriptionstringThe description, or null for none.
indexintThe place among the subsets and sheets of this group; -1 for the end.
Returns
- CadSheetSubset
The new subset.
Exceptions
- ArgumentNullException
Thrown when the name is null.
- ArgumentOutOfRangeException
Thrown when the place is not -1 or from 0 to the count of children.
- InvalidOperationException
Thrown outside Change(Action<CadSheetSet>).