ExportFileContextActionProviderAttribute Class

Definition

Exports an IWorkspaceProviderFactory<T> with a type argument of IFileContextActionProvider to the MEF catalog with metadata as described by 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
Inheritance
ExportFileContextActionProviderAttribute
Attributes
Implements

Constructors

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

Initializes a new instance of the ExportFileContextActionProviderAttribute class.

ExportFileContextActionProviderAttribute(String, ProviderPriority, String[])

Initializes a new instance of the ExportFileContextActionProviderAttribute class.

ExportFileContextActionProviderAttribute(String, String[])

Initializes a new instance of the ExportFileContextActionProviderAttribute class.

Properties

OptionFlags

The Options defined for this metadata as flags attribute

(Inherited from ExportProviderAttributeBase)
OptionFlagsInternal

Return the options flags internal

Options

FileContextActionProvider Options

Priority

Provider priority

(Inherited from ExportProviderAttributeBase)
SupportedContextTypes

Gets a collection of GUIDs that identify the ContextType values that this language service can initialize from.

Type

The Unique Type for this Provider

(Inherited from ExportProviderAttributeBase)
Version

Version tracking

(Inherited from ExportProviderAttributeBase)

Applies to