次の方法で共有


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)

適用対象