AnalysisDisplayStyle.IsNameUnique
Method
Description:
Verify the uniqueness of the name among all analysis display style elements of the document.
Verify the uniqueness of the name among all analysis display style elements of the document.
Syntax
public static bool IsNameUnique(
Document document,
string name,
AnalysisDisplayStyle excludedElement
)
Parameters
| Parameter | Type | Description |
|---|---|---|
| document | Document | Document in which name uniqueness is verified. |
| name | String | Name to verify uniqueness of. |
| excludedElement | AnalysisDisplayStyle | Element to be excluded from uniqueness verification (for renaming of an existing element). |
Return Value
| Type | Description |
|---|---|
| Boolean | True if name is unique, false otherwise. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |