ToolWindowPane.ProvideSearchSettings Method
Allows override of default search settings. By default, the search is started delayed, with indefinite progress. The names of properties that can be overridden are defined in the class SearchSettingsDataSource.PropertyNames. Values that implement the IVsUIObject interface can be constructed for common types using the BuiltInPropertyValue class, or you could use helper functions like SetValue to set values in the data source.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Public Overridable Sub ProvideSearchSettings ( _
pSearchSettings As IVsUIDataSource _
)
public virtual void ProvideSearchSettings(
IVsUIDataSource pSearchSettings
)
public:
virtual void ProvideSearchSettings(
IVsUIDataSource^ pSearchSettings
)
abstract ProvideSearchSettings :
pSearchSettings:IVsUIDataSource -> unit
override ProvideSearchSettings :
pSearchSettings:IVsUIDataSource -> unit
public function ProvideSearchSettings(
pSearchSettings : IVsUIDataSource
)
Parameters
pSearchSettings
Type: Microsoft.VisualStudio.Shell.Interop.IVsUIDataSourceThe data source with default search settings that can be overridden by the tool window.
Implements
IVsWindowSearch.ProvideSearchSettings(IVsUIDataSource)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.