Partager via


KindFilterDefinition Class

Definition

Important

This API is not CLS-compliant.

Defines a UI button and filter for a NavigateToItemKind.

public ref class KindFilterDefinition abstract : Microsoft::VisualStudio::Language::NavigateTo::Interfaces::FilterDefinition
[Windows::Foundation::Metadata::WebHostHidden]
public ref class KindFilterDefinition abstract : Microsoft::VisualStudio::Language::NavigateTo::Interfaces::FilterDefinition
[Windows::Foundation::Metadata::WebHostHidden]
class KindFilterDefinition abstract : Microsoft::VisualStudio::Language::NavigateTo::Interfaces::FilterDefinition
[System.CLSCompliant(false)]
public abstract class KindFilterDefinition : Microsoft.VisualStudio.Language.NavigateTo.Interfaces.FilterDefinition
public abstract class KindFilterDefinition : Microsoft.VisualStudio.Language.NavigateTo.Interfaces.FilterDefinition
[<System.CLSCompliant(false)>]
type KindFilterDefinition = class
    inherit FilterDefinition
type KindFilterDefinition = class
    inherit FilterDefinition
Public MustInherit Class KindFilterDefinition
Inherits FilterDefinition
Inheritance
KindFilterDefinition
Attributes

Remarks

This is a MEF component part, and should be exported as: [Export(typeof(FilterDefinition))]

Exporters must provide the NameAttribute. The OrderAttribute FilterShortcutAttribute may be provided optionally.

Constructors

KindFilterDefinition()

Properties

Button
Obsolete.

Optional UI button for the filter.

(Inherited from FilterDefinition)
Kind

If this filter is active, the search will add a NavigateToItem if the NavigateToItemKind matches this one.

Applies to