FilterElement.IsNameUnique(Document, String)
Method
Description:
Determines whether the given name could be applied to a new FilterElement, or if it could not be applied because the name is already in use.
Determines whether the given name could be applied to a new FilterElement, or if it could not be applied because the name is already in use.
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 |