Aracılığıyla paylaş


IVsWindowSearch Arabirim

 

Aranabilir içeriğe sahip olmak isteyen bir pencere tarafından uygulanır.Arama ana bilgisayarında arama başlatmak veya arama seçenekleri elde etmek için bu arabirim çağırır Ne zaman arabirimi gerçekleştirilir toolwindow tarafından IVsWindowPane sınıf veya VSFPROPID_ViewHelper, toolwindow için arama etkin olup olmadığını denetlemek için SearchEnabled kabuğu tarafından çağrılacak.Bu durumda, Kabuk Kabuk çerçeve/araç çubuğu alanında arama denetimi için varsayılan yerleşimi kullanarak pencereyi ilişkili arama ana bilgisayarında otomatik olarak Kur.

Ad Alanı:   Microsoft.VisualStudio.Shell.Interop
Derleme:  Microsoft.VisualStudio.Shell.Interop.11.0 (Microsoft.VisualStudio.Shell.Interop.11.0.dll içinde)

Sözdizimi

[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[GuidAttribute("8640A5BB-A6F8-4E4C-B4D7-C7041CFF3C71")]
public interface IVsWindowSearch
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
[GuidAttribute("8640A5BB-A6F8-4E4C-B4D7-C7041CFF3C71")]
public interface class IVsWindowSearch
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
[<GuidAttribute("8640A5BB-A6F8-4E4C-B4D7-C7041CFF3C71")>]
type IVsWindowSearch = interface end
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>
<GuidAttribute("8640A5BB-A6F8-4E4C-B4D7-C7041CFF3C71")>
Public Interface IVsWindowSearch

Özellikler

Ad Açıklama
System_CAPS_pubproperty Category

Gets the GUID of the search provider. For a tool window search provider, if the category is not returned the tool window guid will be used by default.

System_CAPS_pubproperty SearchEnabled

System_CAPS_pubproperty SearchFiltersEnum

Returns an interface that can be used to enumerate search filters.

System_CAPS_pubproperty SearchOptionsEnum

Allows the window search host to obtain overridable search options.

Yöntemler

Ad Açıklama
System_CAPS_pubmethod ClearSearch()

System_CAPS_pubmethod CreateSearch(UInt32, IVsSearchQuery, IVsSearchCallback)

System_CAPS_pubmethod OnNavigationKeyDown(UInt32, UInt32)

System_CAPS_pubmethod ProvideSearchSettings(IVsUIDataSource)

Ayrıca bkz.

Microsoft.VisualStudio.Shell.Interop Ad Alanı

Başa dön