CircuitNamingScheme.Create
Method
Description:
Creates a new CircuitNamingScheme.
Creates a new CircuitNamingScheme.
Syntax
public static CircuitNamingScheme Create(
Document document,
string name,
IList<TableCellCombinedParameterData> data
)
Parameters
| Parameter | Type | Description |
|---|---|---|
| document | Document | The document in which to create the CircuitNamingScheme. |
| name | String | The name of CircuitNamingScheme. |
| data | IList | The array of TableCellCombinedParameterData to be set as combined parameters. |
Return Value
| Type | Description |
|---|---|
| CircuitNamingScheme | The newly created CircuitNamingScheme. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | name is an empty string or contains only whitespace. -or- name cannot include prohibited characters, such as "{, }, [, ], |, ;, less-than sign, greater-than sign, ?, `, ~". -or- The given value for name is already in use as a CircuitNamingScheme name. -or- The data contains invalid parameter id. |
| ArgumentNullException | A non-optional argument was null |