Partager via


ExportCustomFileContextProviderAttribute Class

Definition

MEF export helper for ILaunchConfigurationProviderMetadata

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

Constructors

ExportCustomFileContextProviderAttribute(CustomFileContextProviderOptions, String, String[], String, ProviderPriority)

Initializes a new instance of the ExportCustomFileContextProviderAttribute class.

Properties

CustomJsonSchemaContent

The customized json schema

FilesFilters

Optional. Gets a set of rules (glob patterns) for files. This will constitute "anonymous" content type, aka set of files only available for the given provider. Files that matches this rules (if present) will be passed to the component regardless of their calculated content type.

(Inherited from ExportFileExtensionsAttributeBase)
OptionFlags

The Options defined for this metadata as flags attribute

(Inherited from ExportProviderAttributeBase)
OptionFlagsInternal

Return the options flags internal

Options

Provider options

Priority

Provider priority

(Inherited from ExportProviderAttributeBase)
SupportedContentTypes

Optional. List of content types this component wants to handle.

(Inherited from ExportFileExtensionsAttributeBase)
Type

The Unique Type for this Provider

(Inherited from ExportProviderAttributeBase)
Version

Version tracking

(Inherited from ExportProviderAttributeBase)

Applies to