Udostępnij za pośrednictwem


ExportFileContextProviderAttribute Klasa

Definicja

Eksportuje element IFileContextProvider do katalogu MEF z metadanymi zgodnie z opisem w temacie 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
Dziedziczenie
ExportFileContextProviderAttribute
Atrybuty
Implementuje

Konstruktory

ExportFileContextProviderAttribute(FileContextProviderOptions, String, ProviderPriority, Type[], String[])

Inicjuje nowe wystąpienie klasy ExportFileContextProviderAttribute.

ExportFileContextProviderAttribute(String, ProviderPriority, String[])

Inicjuje nowe wystąpienie klasy ExportFileContextProviderAttribute.

ExportFileContextProviderAttribute(String, ProviderPriority, Type[], String[])

Inicjuje nowe wystąpienie klasy ExportFileContextProviderAttribute.

ExportFileContextProviderAttribute(String, String[])

Inicjuje nowe wystąpienie klasy ExportFileContextProviderAttribute.

Właściwości

OptionFlags

Opcje zdefiniowane dla tych metadanych jako atrybut flagi

(Odziedziczone po ExportProviderAttributeBase)
OptionFlagsInternal

Zwracanie flag opcji wewnętrznych

Options

Opcje FileContextProvider

Priority

Priorytet dostawcy

(Odziedziczone po ExportProviderAttributeBase)
SupportedContextTypes

Pobiera kolekcję wartości, które mogą być generowane ContextType przez tego dostawcę.

SupportedGetContextsTypes

Kolekcja typów obsługiwanych po przekazaniu niestandardowych kontekstów obszaru roboczego

Type

Unikatowy typ tego dostawcy

(Odziedziczone po ExportProviderAttributeBase)
Version

Śledzenie wersji

(Odziedziczone po ExportProviderAttributeBase)

Dotyczy