ExportFileContextActionProviderAttribute 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将 导出 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
- 继承
- 属性
- 实现
构造函数
属性
OptionFlags |
为此元数据定义为 flags 属性的选项 (继承自 ExportProviderAttributeBase) |
OptionFlagsInternal |
返回内部选项标志 |
Options |
FileContextActionProvider 选项 |
Priority |
提供程序优先级 (继承自 ExportProviderAttributeBase) |
SupportedContextTypes |
获取标识此语言服务可从中 ContextType 初始化的值的 GUID 集合。 |
Type |
此提供程序的唯一类型 (继承自 ExportProviderAttributeBase) |
Version |
版本跟踪 (继承自 ExportProviderAttributeBase) |