ExportCustomFileContextProviderAttribute(CustomFileContextProviderOptions, String, String[], String, ProviderPriority) Конструктор
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Инициализирует новый экземпляр класса ExportCustomFileContextProviderAttribute.
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)
Параметры
- options
- CustomFileContextProviderOptions
Параметры поставщика
- type
- String
Уникальный тип для этого IProviderMetadataBase
- supportedFileExtensions
- String[]
Поддерживаемое расширение файла
- customJsonSchemaContent
- String
Пользовательское содержимое схемы JSON
- priority
- ProviderPriority
Приоритет сканера файлов