ExportCustomFileContextProviderAttribute Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the ExportCustomFileContextProviderAttribute class.
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);
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)
Parameters
- options
- CustomFileContextProviderOptions
Provider options
- type
- String
The unique type for this IProviderMetadataBase
- supportedFileExtensions
- String[]
The supported file extension
- customJsonSchemaContent
- String
Custom Json schema content
- priority
- ProviderPriority
File scanner priority