| FilterDialog(Document, String) Constructor | 
   Constructs a new instance of the FilterDialog class,
   while setting the name of the new ParameterFilterElement to be created and selected for editing.
Namespace: Autodesk.Revit.UIAssembly: RevitAPIUI (in RevitAPIUI.dll) Version: 25.0.0.0 (25.0.0.0)
 Syntax
Syntaxpublic FilterDialog(
	Document doc,
	string name
)
Public Sub New ( 
	doc As Document,
	name As String
)
public:
FilterDialog(
	Document^ doc, 
	String^ name
)
new : 
        doc : Document * 
        name : string -> FilterDialogParameters
- doc  Document
- 
   The document that owns the FilterElements displayed and edited in the dialog.
- name  String
- 
   The user-visible name for the new ParameterFilterElement.
 Exceptions
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 | 
 Remarks
Remarks
   Show the dialog with the Show() method after setting the desired options.
 See Also
See Also