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

Definition

Initialisiert eine neue Instanz der ExportCustomFileContextProviderAttribute-Klasse.

 ExportCustomFileContextProviderAttribute(Microsoft::VisualStudio::Workspace::CustomContexts::CustomFileContextProviderOptions options, std::wstring const & type, std::Array <std::wstring const &> const & supportedFileExtensions, std::wstring const & customJsonSchemaContent = null, Microsoft::VisualStudio::Workspace::ProviderPriority priority = Microsoft.VisualStudio.Workspace.ProviderPriority.Normal);
public ExportCustomFileContextProviderAttribute (Microsoft.VisualStudio.Workspace.CustomContexts.CustomFileContextProviderOptions options, string type, string[] supportedFileExtensions, string customJsonSchemaContent = default, Microsoft.VisualStudio.Workspace.ProviderPriority priority = Microsoft.VisualStudio.Workspace.ProviderPriority.Normal);
new Microsoft.VisualStudio.Workspace.CustomContexts.ExportCustomFileContextProviderAttribute : Microsoft.VisualStudio.Workspace.CustomContexts.CustomFileContextProviderOptions * string * string[] * string * Microsoft.VisualStudio.Workspace.ProviderPriority -> Microsoft.VisualStudio.Workspace.CustomContexts.ExportCustomFileContextProviderAttribute
Public Sub New (options As CustomFileContextProviderOptions, type As String, supportedFileExtensions As String(), Optional customJsonSchemaContent As String = Nothing, Optional priority As ProviderPriority = Microsoft.VisualStudio.Workspace.ProviderPriority.Normal)

Parameter

options
CustomFileContextProviderOptions

Anbieteroptionen

type
String

Der eindeutige Typ für dieses IProviderMetadataBase

supportedFileExtensions
String[]

Die unterstützte Dateierweiterung

customJsonSchemaContent
String

Benutzerdefinierter JSON-Schema Inhalt

priority
ProviderPriority

Dateiscanner-Priorität

Gilt für