Udostępnij za pośrednictwem


ExportFileContextActionProviderAttribute Klasa

Definicja

Eksportuje obiekt IFileContextActionProvider do wykazu MEF z metadanymi zgodnie z opisem w temacie 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
Dziedziczenie
ExportFileContextActionProviderAttribute
Atrybuty
Implementuje

Konstruktory

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

Inicjuje nowe wystąpienie klasy ExportFileContextActionProviderAttribute.

ExportFileContextActionProviderAttribute(String, ProviderPriority, String[])

Inicjuje nowe wystąpienie klasy ExportFileContextActionProviderAttribute.

ExportFileContextActionProviderAttribute(String, String[])

Inicjuje nowe wystąpienie klasy ExportFileContextActionProviderAttribute.

Właściwości

OptionFlags

Opcje zdefiniowane dla tych metadanych jako atrybut flagi

(Odziedziczone po ExportProviderAttributeBase)
OptionFlagsInternal

Zwracanie flag opcji wewnętrznych

Options

Opcje FileContextActionProvider

Priority

Priorytet dostawcy

(Odziedziczone po ExportProviderAttributeBase)
SupportedContextTypes

Pobiera kolekcję identyfikatorów GUID identyfikujących ContextType wartości, z których ta usługa językowa może zainicjować dane.

Type

Unikatowy typ tego dostawcy

(Odziedziczone po ExportProviderAttributeBase)
Version

Śledzenie wersji

(Odziedziczone po ExportProviderAttributeBase)

Dotyczy