ExportCustomFileContextProvider2Attribute(CustomFileContextProviderOptions, String, String[], String[], String, ProviderPriority) Konstruktor

Definition

Initialisiert eine neue Instanz der ExportCustomFileContextProvider2Attribute-Klasse.

public:
 ExportCustomFileContextProvider2Attribute(Microsoft::VisualStudio::Workspace::CustomContexts::CustomFileContextProviderOptions options, System::String ^ type, cli::array <System::String ^> ^ contentTypes, cli::array <System::String ^> ^ filesFilters, System::String ^ customJsonSchemaContent, Microsoft::VisualStudio::Workspace::ProviderPriority priority);
public:
 ExportCustomFileContextProvider2Attribute(Microsoft::VisualStudio::Workspace::CustomContexts::CustomFileContextProviderOptions options, Platform::String ^ type, Platform::Array <Platform::String ^> ^ contentTypes, Platform::Array <Platform::String ^> ^ filesFilters, Platform::String ^ customJsonSchemaContent, Microsoft::VisualStudio::Workspace::ProviderPriority priority);
 ExportCustomFileContextProvider2Attribute(Microsoft::VisualStudio::Workspace::CustomContexts::CustomFileContextProviderOptions options, std::wstring const & type, std::Array <std::wstring const &> const & contentTypes, std::Array <std::wstring const &> const & filesFilters, std::wstring const & customJsonSchemaContent, Microsoft::VisualStudio::Workspace::ProviderPriority priority);
public ExportCustomFileContextProvider2Attribute (Microsoft.VisualStudio.Workspace.CustomContexts.CustomFileContextProviderOptions options, string type, string[] contentTypes, string[] filesFilters, string customJsonSchemaContent, Microsoft.VisualStudio.Workspace.ProviderPriority priority);
new Microsoft.VisualStudio.Workspace.CustomContexts.ExportCustomFileContextProvider2Attribute : Microsoft.VisualStudio.Workspace.CustomContexts.CustomFileContextProviderOptions * string * string[] * string[] * string * Microsoft.VisualStudio.Workspace.ProviderPriority -> Microsoft.VisualStudio.Workspace.CustomContexts.ExportCustomFileContextProvider2Attribute
Public Sub New (options As CustomFileContextProviderOptions, type As String, contentTypes As String(), filesFilters As String(), customJsonSchemaContent As String, priority As ProviderPriority)

Parameter

options
CustomFileContextProviderOptions

Anbieteroptionen

type
String

Der eindeutige Typ für dieses IProviderMetadataBase

contentTypes
String[]

Liste der zu behandelnden Inhaltstypen

filesFilters
String[]

Anonyme Inhaltstyp Definition (Glob-Muster)

customJsonSchemaContent
String

Benutzerdefinierter JSON-Schema Inhalt

priority
ProviderPriority

Dateiscanner-Priorität

Gilt für