ExportFileContextProviderAttribute Classe
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Exporta um IFileContextProvider para o catálogo do MEF com metadados, conforme descrito por IFileContextProviderMetadata.
public ref class ExportFileContextProviderAttribute : Microsoft::VisualStudio::Workspace::ExportProviderAttributeBase, Microsoft::VisualStudio::Workspace::IFileContextProviderMetadata
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Field | System.AttributeTargets.Method | System.AttributeTargets.Property, AllowMultiple=false, Inherited=false)]
[System.ComponentModel.Composition.MetadataAttribute]
public class ExportFileContextProviderAttribute : Microsoft.VisualStudio.Workspace.ExportProviderAttributeBase, Microsoft.VisualStudio.Workspace.IFileContextProviderMetadata
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Field | System.AttributeTargets.Method | System.AttributeTargets.Property, AllowMultiple=false, Inherited=false)>]
[<System.ComponentModel.Composition.MetadataAttribute>]
type ExportFileContextProviderAttribute = class
inherit ExportProviderAttributeBase
interface IFileContextProviderMetadata
interface IProviderMetadataBase
Public Class ExportFileContextProviderAttribute
Inherits ExportProviderAttributeBase
Implements IFileContextProviderMetadata
- Herança
- Atributos
- Implementações
Construtores
| ExportFileContextProviderAttribute(FileContextProviderOptions, String, ProviderPriority, Type[], String[]) |
Inicializa uma nova instância da classe ExportFileContextProviderAttribute. |
| ExportFileContextProviderAttribute(String, ProviderPriority, String[]) |
Inicializa uma nova instância da classe ExportFileContextProviderAttribute. |
| ExportFileContextProviderAttribute(String, ProviderPriority, Type[], String[]) |
Inicializa uma nova instância da classe ExportFileContextProviderAttribute. |
| ExportFileContextProviderAttribute(String, String[]) |
Inicializa uma nova instância da classe ExportFileContextProviderAttribute. |
Propriedades
| OptionFlags |
As Opções definidas para esses metadados como atributo flags (Herdado de ExportProviderAttributeBase) |
| OptionFlagsInternal |
Retornar os sinalizadores de opções internos |
| Options |
Opções de FileContextProvider |
| Priority |
Prioridade do provedor (Herdado de ExportProviderAttributeBase) |
| SupportedContextTypes |
Obtém uma coleção dos valores que podem ser produzidos para ContextType esse provedor. |
| SupportedGetContextsTypes |
Coleção de tipos com suporte quando contextos de workspace personalizados são passados |
| Type |
O tipo exclusivo para este provedor (Herdado de ExportProviderAttributeBase) |
| Version |
Controle de versão (Herdado de ExportProviderAttributeBase) |