Idioma

OnlyNavigateToSupportAttribute Classe

Definição

Marca um INavigateToItemProviderFactory como utilizável apenas em um contexto Go To.

[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=false)]
[System.ComponentModel.Composition.MetadataAttribute]
public sealed class OnlyNavigateToSupportAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=false)>]
[<System.ComponentModel.Composition.MetadataAttribute>]
type OnlyNavigateToSupportAttribute = class
    inherit Attribute
Public NotInheritable Class OnlyNavigateToSupportAttribute
Inherits Attribute
Herança
OnlyNavigateToSupportAttribute
Atributos

Comentários

Por padrão, o provedor Navegar para também é invocado por alguns outros recursos de pesquisa, como Visual Studio Pesquisa e All In One Pesquisa. Esse atributo indica outros recursos de pesquisa para não invocar esse provedor, que, portanto, mantêm esse provedor exclusivamente para Navegar para e nada mais. Um bom motivo para usar o OnlyNavigateToSupportAttribute é quando você deseja criar um provedor dedicado separado para outro recurso de pesquisa.

Construtores

Nome Descrição
OnlyNavigateToSupportAttribute()

Marca um INavigateToItemProviderFactory como utilizável apenas em um contexto Go To.

Propriedades

Nome Descrição
OnlyNavigateToSupport

Indica que o INavigateToItemProviderFactory só pode ser usado ao pesquisar por meio do Go To.

Aplica-se a