共用方式為


ExportFileContextActionProviderAttribute 類別

定義

IFileContextActionProvider使用 元數據將 匯出至 MEF 目錄,如 所述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
繼承
ExportFileContextActionProviderAttribute
屬性
實作

建構函式

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

初始化 ExportFileContextActionProviderAttribute 類別的新執行個體。

ExportFileContextActionProviderAttribute(String, ProviderPriority, String[])

初始化 ExportFileContextActionProviderAttribute 類別的新執行個體。

ExportFileContextActionProviderAttribute(String, String[])

初始化 ExportFileContextActionProviderAttribute 類別的新執行個體。

屬性

OptionFlags

為這個元數據定義的選項做為旗標屬性

(繼承來源 ExportProviderAttributeBase)
OptionFlagsInternal

傳回內部選項旗標

Options

FileContextActionProvider 選項

Priority

提供者優先順序

(繼承來源 ExportProviderAttributeBase)
SupportedContextTypes

取得 GUID 的集合,識別 ContextType 這個語言服務可以從中初始化的值。

Type

此提供者的唯一類型

(繼承來源 ExportProviderAttributeBase)
Version

版本追蹤

(繼承來源 ExportProviderAttributeBase)

適用於