Aracılığıyla paylaş


ExportFileScannerAttribute Sınıf

Tanım

tarafından açıklandığı IFileScannerMetadatagibi meta verileri içeren bir IFileScanner öğesini MEF kataloğuna aktarır.

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
Devralma
Öznitelikler
Uygulamalar

Oluşturucular

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

ExportFileScannerAttribute sınıfının yeni bir örneğini başlatır.

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

ExportFileScannerAttribute sınıfının yeni bir örneğini başlatır.

ExportFileScannerAttribute(String, String, String, Type)

ExportFileScannerAttribute sınıfının yeni bir örneğini başlatır.

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

ExportFileScannerAttribute sınıfının yeni bir örneğini başlatır.

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

ExportFileScannerAttribute sınıfının yeni bir örneğini başlatır.

Özellikler

FilesFilters

İsteğe bağlı. Dosyalar için bir dizi kural (glob deseni) alır. Bu, yalnızca belirli bir sağlayıcı için kullanılabilen "anonim" içerik türünü( diğer bir deyişle dosya kümesini) oluşturur. Bu kurallarla eşleşen dosyalar (varsa) hesaplanmış içerik türünden bağımsız olarak bileşene geçirilir.

(Devralındığı yer: ExportFileExtensionsAttributeBase)
Language

Bu tarayıcının uygun olduğu dosyaların türünü açıklayan basit bir ad alır.

OptionFlags

Bu meta veriler için bayrak özniteliği olarak tanımlanan Seçenekler

(Devralındığı yer: ExportProviderAttributeBase)
OptionFlagsInternal

İç seçenekler bayraklarını döndürme

Options

FileScanner seçenekleri

Priority

Sağlayıcı önceliği

(Devralındığı yer: ExportProviderAttributeBase)
SupportedContentTypes

İsteğe bağlı. Bu bileşenin işlemek istediği içerik türlerinin listesi.

(Devralındığı yer: ExportFileExtensionsAttributeBase)
SupportedTypes

Bu meta veriler tarafından desteklenen türler kümesini alır

Type

Bu Sağlayıcı için Benzersiz Tür

(Devralındığı yer: ExportProviderAttributeBase)
Version

Sürüm izleme

(Devralındığı yer: ExportProviderAttributeBase)

Şunlara uygulanır