Method Execute
Execute(ISearch, bool, bool)
When implemented by a class, initializes and runs a search dialog box.
bool Execute(ISearch search, bool isModal, bool isReplace)Parameters
- searchISearch
- Specifies - ISearchinterface owning the dialog.
- isModalbool
- Indicates whether search dialog should appear in modal state. 
- isReplacebool
- Indicates whether search or replace dialog should be executed. 
Returns
- bool
- DialogResult.OK if the user clicks OK in the dialog box; otherwise, DialogResult.Cancel. 
Execute(ISearch, bool, bool, Window)
When implemented by a class, initializes and runs a search dialog box.
bool Execute(ISearch search, bool isModal, bool isReplace, Window owner)Parameters
- searchISearch
- Specifies - ISearchinterface owning the dialog.
- isModalbool
- Indicates whether search dialog should appear in modal state. 
- isReplacebool
- Indicates whether search or replace dialog should be executed. 
- ownerWindow
- Any object that implements IWin32Window that represents the top-level window that will own the modal dialog box. 
Returns
- bool
- DialogResult.OK if the user clicks OK in the dialog box; otherwise, DialogResult.Cancel. 
Execute(ISearch, bool, bool, OwnerWindow)
When implemented by a class, initializes and runs a search dialog box.
bool Execute(ISearch search, bool isModal, bool isReplace, OwnerWindow owner)Parameters
- searchISearch
- Specifies - ISearchinterface owning the dialog.
- isModalbool
- Indicates whether search dialog should appear in modal state. 
- isReplacebool
- Indicates whether search or replace dialog should be executed. 
- ownerOwnerWindow
- Any object that implements IWin32Window that represents the top-level window that will own the modal dialog box. 
Returns
- bool
- DialogResult.OK if the user clicks OK in the dialog box; otherwise, DialogResult.Cancel.