Material.IsNameUnique
Method
Description:
Validates whether the material name is unique in document.
Validates whether the material name is unique in document.
Parameters
| Parameter | Type | Description |
|---|---|---|
| aDocument | Document | The document in which the name is being tested for uniqueness. |
| name | String | The name tested for uniqueness. |
Return Value
| Type | Description |
|---|---|
| Boolean | Returns true if the name is unique, and false otherwise. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |