Share via


ExportCustomFileContextProvider2Attribute Constructor

Definition

Initializes a new instance of the ExportCustomFileContextProvider2Attribute class.

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);
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)

Parameters

options
CustomFileContextProviderOptions

Provider options

type
String

The unique type for this IProviderMetadataBase

contentTypes
String[]

List of content types to handle

filesFilters
String[]

Anonymous content type definition (glob patterns)

customJsonSchemaContent
String

Custom Json schema content

priority
ProviderPriority

File scanner priority

Applies to