ExportFileContextProviderAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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) |