Aracılığıyla paylaş


ExportFileContextProviderAttribute Sınıf

Tanım

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

public ref class ExportFileContextProviderAttribute : Microsoft::VisualStudio::Workspace::ExportProviderAttributeBase, Microsoft::VisualStudio::Workspace::IFileContextProviderMetadata
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Field | System.AttributeTargets.Method | System.AttributeTargets.Property, AllowMultiple=false, Inherited=false)]
[System.ComponentModel.Composition.MetadataAttribute]
public class ExportFileContextProviderAttribute : Microsoft.VisualStudio.Workspace.ExportProviderAttributeBase, Microsoft.VisualStudio.Workspace.IFileContextProviderMetadata
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Field | System.AttributeTargets.Method | System.AttributeTargets.Property, AllowMultiple=false, Inherited=false)>]
[<System.ComponentModel.Composition.MetadataAttribute>]
type ExportFileContextProviderAttribute = class
    inherit ExportProviderAttributeBase
    interface IFileContextProviderMetadata
    interface IProviderMetadataBase
Public Class ExportFileContextProviderAttribute
Inherits ExportProviderAttributeBase
Implements IFileContextProviderMetadata
Devralma
ExportFileContextProviderAttribute
Öznitelikler
Uygulamalar

Oluşturucular

ExportFileContextProviderAttribute(FileContextProviderOptions, String, ProviderPriority, Type[], String[])

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

ExportFileContextProviderAttribute(String, ProviderPriority, String[])

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

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

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

ExportFileContextProviderAttribute(String, String[])

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

Özellikler

OptionFlags

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

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

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

Options

FileContextProvider Seçenekleri

Priority

Sağlayıcı önceliği

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

Bu sağlayıcı tarafından üretilebilen ContextType değerlerin koleksiyonunu alır.

SupportedGetContextsTypes

Özel çalışma alanı bağlamları geçirildiğinde desteklenen tür koleksiyonu

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