Partager via


ExportProjectFilesAttribute Class

Definition

Caution

Obsolete as of Visual Studio 2019.

Exports an IProjectFilesProvider to the MEF catalog

public ref class ExportProjectFilesAttribute : Microsoft::VisualStudio::Workspace::ExportFileExtensionsAttributeBase, Microsoft::VisualStudio::Workspace::Extensions::Indexing::IProjectFilesMetadata
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Field | System.AttributeTargets.Method | System.AttributeTargets.Property, AllowMultiple=false, Inherited=false)]
[System.ComponentModel.Composition.MetadataAttribute]
public class ExportProjectFilesAttribute : Microsoft.VisualStudio.Workspace.ExportFileExtensionsAttributeBase, Microsoft.VisualStudio.Workspace.Extensions.Indexing.IProjectFilesMetadata
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Field | System.AttributeTargets.Method | System.AttributeTargets.Property, AllowMultiple=false, Inherited=false)]
[System.ComponentModel.Composition.MetadataAttribute]
[System.Obsolete("Obsolete as of Visual Studio 2019.")]
public class ExportProjectFilesAttribute : Microsoft.VisualStudio.Workspace.ExportFileExtensionsAttributeBase, Microsoft.VisualStudio.Workspace.Extensions.Indexing.IProjectFilesMetadata
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Field | System.AttributeTargets.Method | System.AttributeTargets.Property, AllowMultiple=false, Inherited=false)>]
[<System.ComponentModel.Composition.MetadataAttribute>]
type ExportProjectFilesAttribute = class
    inherit ExportFileExtensionsAttributeBase
    interface IProjectFilesMetadata
    interface IFileSelectorMetadata
    interface IProviderMetadataBase
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Field | System.AttributeTargets.Method | System.AttributeTargets.Property, AllowMultiple=false, Inherited=false)>]
[<System.ComponentModel.Composition.MetadataAttribute>]
[<System.Obsolete("Obsolete as of Visual Studio 2019.")>]
type ExportProjectFilesAttribute = class
    inherit ExportFileExtensionsAttributeBase
    interface IProjectFilesMetadata
    interface IFileSelectorMetadata
    interface IProviderMetadataBase
Public Class ExportProjectFilesAttribute
Inherits ExportFileExtensionsAttributeBase
Implements IProjectFilesMetadata
Inheritance
Attributes
Implements

Constructors

ExportProjectFilesAttribute(String, String[], ProviderPriority)

Initializes a new instance of the ExportProjectFilesAttribute class.

Properties

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

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