Udostępnij za pośrednictwem


ExportFileScannerAttribute Klasa

Definicja

Eksportuje obiekt IFileScanner do wykazu MEF z metadanymi zgodnie z opisem w temacie 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
Dziedziczenie
Atrybuty
Implementuje

Konstruktory

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

Inicjuje nowe wystąpienie klasy ExportFileScannerAttribute.

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

Inicjuje nowe wystąpienie klasy ExportFileScannerAttribute.

ExportFileScannerAttribute(String, String, String, Type)

Inicjuje nowe wystąpienie klasy ExportFileScannerAttribute.

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

Inicjuje nowe wystąpienie klasy ExportFileScannerAttribute.

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

Inicjuje nowe wystąpienie klasy ExportFileScannerAttribute.

Właściwości

FilesFilters

Opcjonalny. Pobiera zestaw reguł (wzorców globu) dla plików. Spowoduje to utworzenie typu zawartości "anonimowej", czyli zestawu plików dostępnych tylko dla danego dostawcy. Pliki zgodne z tą regułą (jeśli są obecne) zostaną przekazane do składnika niezależnie od ich typu zawartości obliczeniowej.

(Odziedziczone po ExportFileExtensionsAttributeBase)
Language

Pobiera prostą nazwę, która opisuje rodzaj plików, dla których jest odpowiedni skaner.

OptionFlags

Opcje zdefiniowane dla tych metadanych jako atrybut flagi

(Odziedziczone po ExportProviderAttributeBase)
OptionFlagsInternal

Zwracanie flag opcji wewnętrznych

Options

Opcje programu FileScanner

Priority

Priorytet dostawcy

(Odziedziczone po ExportProviderAttributeBase)
SupportedContentTypes

Opcjonalny. Lista typów zawartości, które ten składnik chce obsłużyć.

(Odziedziczone po ExportFileExtensionsAttributeBase)
SupportedTypes

Pobiera zestaw obsługiwanych typów przez te metadane

Type

Unikatowy typ tego dostawcy

(Odziedziczone po ExportProviderAttributeBase)
Version

Śledzenie wersji

(Odziedziczone po ExportProviderAttributeBase)

Dotyczy