Bagikan melalui


ExportFileContextProviderAttribute Kelas

Definisi

Mengekspor ke katalog MEF dengan metadata seperti yang IFileContextProvider dijelaskan oleh 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
Warisan
ExportFileContextProviderAttribute
Atribut
Penerapan

Konstruktor

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

Menginisialisasi instans baru kelas ExportFileContextProviderAttribute.

ExportFileContextProviderAttribute(String, ProviderPriority, String[])

Menginisialisasi instans baru kelas ExportFileContextProviderAttribute.

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

Menginisialisasi instans baru kelas ExportFileContextProviderAttribute.

ExportFileContextProviderAttribute(String, String[])

Menginisialisasi instans baru kelas ExportFileContextProviderAttribute.

Properti

OptionFlags

Opsi yang ditentukan untuk metadata ini sebagai atribut bendera

(Diperoleh dari ExportProviderAttributeBase)
OptionFlagsInternal

Mengembalikan bendera opsi internal

Options

Opsi FileContextProvider

Priority

Prioritas penyedia

(Diperoleh dari ExportProviderAttributeBase)
SupportedContextTypes

Mendapatkan kumpulan nilai yang mungkin dihasilkan oleh ContextType penyedia ini.

SupportedGetContextsTypes

Kumpulan jenis yang didukung saat konteks ruang kerja kustom diteruskan

Type

Tipe Unik untuk Penyedia ini

(Diperoleh dari ExportProviderAttributeBase)
Version

Pelacakan versi

(Diperoleh dari ExportProviderAttributeBase)

Berlaku untuk