Поделиться через


ExportFileContextProviderAttribute Класс

Определение

Экспортирует в IFileContextProvider каталог MEF метаданные, как описано в IFileContextProviderMetadata.

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
Наследование
ExportFileContextProviderAttribute
Атрибуты
Реализации

Конструкторы

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

Инициализирует новый экземпляр класса ExportFileContextProviderAttribute.

ExportFileContextProviderAttribute(String, ProviderPriority, String[])

Инициализирует новый экземпляр класса ExportFileContextProviderAttribute.

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

Инициализирует новый экземпляр класса ExportFileContextProviderAttribute.

ExportFileContextProviderAttribute(String, String[])

Инициализирует новый экземпляр класса ExportFileContextProviderAttribute.

Свойства

OptionFlags

Параметры, определенные для этих метаданных в качестве атрибута flags

(Унаследовано от ExportProviderAttributeBase)
OptionFlagsInternal

Возврат внутренних флагов параметров

Options

Параметры FileContextProvider

Priority

Приоритет поставщика

(Унаследовано от ExportProviderAttributeBase)
SupportedContextTypes

Возвращает коллекцию значений, которые могут быть созданы этим ContextType поставщиком.

SupportedGetContextsTypes

Коллекция типов, поддерживаемых при передаче настраиваемых контекстов рабочей области

Type

Уникальный тип для этого поставщика

(Унаследовано от ExportProviderAttributeBase)
Version

Отслеживание версий

(Унаследовано от ExportProviderAttributeBase)

Применяется к