Share via


ExportFileContextProviderAttribute Class

Definition

Exports an IWorkspaceProviderFactory<T> with a type argument of IFileContextProvider to the MEF catalog with metadata as described by IFileContextProviderMetadata.

public ref class ExportFileContextProviderAttribute : Microsoft::VisualStudio::Workspace::ExportProviderAttributeBase, Microsoft::VisualStudio::Workspace::IFileContextProviderMetadata
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Field | System.AttributeTargets.Method | System.AttributeTargets.Property, AllowMultiple=false, Inherited=false)]
[System.ComponentModel.Composition.MetadataAttribute]
public class ExportFileContextProviderAttribute : Microsoft.VisualStudio.Workspace.ExportProviderAttributeBase, Microsoft.VisualStudio.Workspace.IFileContextProviderMetadata
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Field | System.AttributeTargets.Method | System.AttributeTargets.Property, AllowMultiple=false, Inherited=false)>]
[<System.ComponentModel.Composition.MetadataAttribute>]
type ExportFileContextProviderAttribute = class
    inherit ExportProviderAttributeBase
    interface IFileContextProviderMetadata
    interface IProviderMetadataBase
Public Class ExportFileContextProviderAttribute
Inherits ExportProviderAttributeBase
Implements IFileContextProviderMetadata
Inheritance
ExportFileContextProviderAttribute
Attributes
Implements

Constructors

ExportFileContextProviderAttribute(FileContextProviderOptions, String, ProviderPriority, Type[], String[])

Initializes a new instance of the ExportFileContextProviderAttribute class.

ExportFileContextProviderAttribute(String, ProviderPriority, String[])

Initializes a new instance of the ExportFileContextProviderAttribute class.

ExportFileContextProviderAttribute(String, ProviderPriority, Type[], String[])

Initializes a new instance of the ExportFileContextProviderAttribute class.

ExportFileContextProviderAttribute(String, String[])

Initializes a new instance of the ExportFileContextProviderAttribute class.

Properties

OptionFlags

The Options defined for this metadata as flags attribute

(Inherited from ExportProviderAttributeBase)
OptionFlagsInternal

Return the options flags internal

Options

FileContextProvider Options

Priority

Provider priority

(Inherited from ExportProviderAttributeBase)
SupportedContextTypes

Gets a collection of the values that may be produced for ContextType by this provider.

SupportedGetContextsTypes

Collection of types supported when custom workspace contexts are passed

Type

The Unique Type for this Provider

(Inherited from ExportProviderAttributeBase)
Version

Version tracking

(Inherited from ExportProviderAttributeBase)

Applies to