FilterDialog(Document, String)
Constructor
Description:
Constructs a new instance of the FilterDialog class, while setting the name of the new ParameterFilterElement to be created and selected for editing.
Constructs a new instance of the FilterDialog class, while setting the name of the new ParameterFilterElement to be created and selected for editing.
Remarks:
Show the dialog with the Show() method after setting the desired options.
Show the dialog with the Show() method after setting the desired options.
Parameters
Parameter | Type | Description |
---|---|---|
doc | Document | The document that owns the FilterElements displayed and edited in the dialog. |
name | String | The user-visible name for the new ParameterFilterElement. |
Return Value
Exceptions
Exception | Condition |
---|---|
ArgumentException | name is an empty string. -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 filter element name. |
ArgumentNullException | A non-optional argument was null |