Share via


ExportFileScannerAttribute Class

Definition

Exports an IFileScanner to the MEF catalog with metadata as described by IFileScannerMetadata.

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

Constructors

ExportFileScannerAttribute(FileScannerOptions, String, String, String, String[], String[], Type[], ProviderPriority)

Initializes a new instance of the ExportFileScannerAttribute class.

ExportFileScannerAttribute(FileScannerOptions, String, String, String, String[], Type[], ProviderPriority)

Initializes a new instance of the ExportFileScannerAttribute class.

ExportFileScannerAttribute(FileScannerOptions, String, String, String[], Type[], ProviderPriority)

Initializes a new instance of the ExportFileScannerAttribute class.

ExportFileScannerAttribute(String, String, String, Type)

Initializes a new instance of the ExportFileScannerAttribute class.

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

Initializes a new instance of the ExportFileScannerAttribute class.

ExportFileScannerAttribute(String, String, String[], Type[])

Initializes a new instance of the ExportFileScannerAttribute 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)
Language

Gets a simple name that describes the kind of files this scanner is suitable for.

OptionFlags

The Options defined for this metadata as flags attribute

(Inherited from ExportProviderAttributeBase)
OptionFlagsInternal

Return the options flags internal

Options

FileScanner options

Priority

Provider priority

(Inherited from ExportProviderAttributeBase)
SupportedContentTypes

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

(Inherited from ExportFileExtensionsAttributeBase)
SupportedTypes

Gets the set of supported types by this metadata

Type

The Unique Type for this Provider

(Inherited from ExportProviderAttributeBase)
Version

Version tracking

(Inherited from ExportProviderAttributeBase)

Applies to