Bagikan melalui


ExportFileContextActionProviderAttribute Kelas

Definisi

Mengekspor ke katalog MEF dengan metadata seperti yang IFileContextActionProvider dijelaskan oleh IFileContextActionProviderMetadata.

public ref class ExportFileContextActionProviderAttribute : Microsoft::VisualStudio::Workspace::ExportProviderAttributeBase, Microsoft::VisualStudio::Workspace::IFileContextActionProviderMetadata
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Field | System.AttributeTargets.Method | System.AttributeTargets.Property, AllowMultiple=false, Inherited=false)]
[System.ComponentModel.Composition.MetadataAttribute]
public class ExportFileContextActionProviderAttribute : Microsoft.VisualStudio.Workspace.ExportProviderAttributeBase, Microsoft.VisualStudio.Workspace.IFileContextActionProviderMetadata
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Field | System.AttributeTargets.Method | System.AttributeTargets.Property, AllowMultiple=false, Inherited=false)>]
[<System.ComponentModel.Composition.MetadataAttribute>]
type ExportFileContextActionProviderAttribute = class
    inherit ExportProviderAttributeBase
    interface IFileContextActionProviderMetadata
    interface IFileContextConsumerMetadata
    interface IProviderMetadataBase
Public Class ExportFileContextActionProviderAttribute
Inherits ExportProviderAttributeBase
Implements IFileContextActionProviderMetadata
Warisan
ExportFileContextActionProviderAttribute
Atribut
Penerapan

Konstruktor

ExportFileContextActionProviderAttribute(FileContextActionProviderOptions, String, ProviderPriority, String[])

Menginisialisasi instans baru kelas ExportFileContextActionProviderAttribute.

ExportFileContextActionProviderAttribute(String, ProviderPriority, String[])

Menginisialisasi instans baru kelas ExportFileContextActionProviderAttribute.

ExportFileContextActionProviderAttribute(String, String[])

Menginisialisasi instans baru kelas ExportFileContextActionProviderAttribute.

Properti

OptionFlags

Opsi yang ditentukan untuk metadata ini sebagai atribut bendera

(Diperoleh dari ExportProviderAttributeBase)
OptionFlagsInternal

Mengembalikan bendera opsi internal

Options

Opsi FileContextActionProvider

Priority

Prioritas penyedia

(Diperoleh dari ExportProviderAttributeBase)
SupportedContextTypes

Mendapatkan kumpulan GUID yang mengidentifikasi nilai yang dapat diinisialisasi ContextType oleh layanan bahasa ini.

Type

Tipe Unik untuk Penyedia ini

(Diperoleh dari ExportProviderAttributeBase)
Version

Pelacakan versi

(Diperoleh dari ExportProviderAttributeBase)

Berlaku untuk