ExportFileContextProviderAttribute Конструкторы
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Перегрузки
| ExportFileContextProviderAttribute(String, String[]) |
Инициализирует новый экземпляр класса ExportFileContextProviderAttribute. |
| ExportFileContextProviderAttribute(String, ProviderPriority, String[]) |
Инициализирует новый экземпляр класса ExportFileContextProviderAttribute. |
| ExportFileContextProviderAttribute(String, ProviderPriority, Type[], String[]) |
Инициализирует новый экземпляр класса ExportFileContextProviderAttribute. |
| ExportFileContextProviderAttribute(FileContextProviderOptions, String, ProviderPriority, Type[], String[]) |
Инициализирует новый экземпляр класса ExportFileContextProviderAttribute. |
ExportFileContextProviderAttribute(String, String[])
Инициализирует новый экземпляр класса ExportFileContextProviderAttribute.
public:
ExportFileContextProviderAttribute(System::String ^ type, ... cli::array <System::String ^> ^ supportedContextTypeGuids);
public ExportFileContextProviderAttribute (string type, params string[] supportedContextTypeGuids);
new Microsoft.VisualStudio.Workspace.ExportFileContextProviderAttribute : string * string[] -> Microsoft.VisualStudio.Workspace.ExportFileContextProviderAttribute
Public Sub New (type As String, ParamArray supportedContextTypeGuids As String())
Параметры
- type
- String
Уникальный тип для этого Ифилеконтекстпровидерметадата
- supportedContextTypeGuids
- String[]
Коллекция значений, которые могут быть созданы ContextType данным поставщиком.
Применяется к
ExportFileContextProviderAttribute(String, ProviderPriority, String[])
Инициализирует новый экземпляр класса ExportFileContextProviderAttribute.
public:
ExportFileContextProviderAttribute(System::String ^ type, Microsoft::VisualStudio::Workspace::ProviderPriority priority, ... cli::array <System::String ^> ^ supportedContextTypeGuids);
public ExportFileContextProviderAttribute (string type, Microsoft.VisualStudio.Workspace.ProviderPriority priority, params string[] supportedContextTypeGuids);
new Microsoft.VisualStudio.Workspace.ExportFileContextProviderAttribute : string * Microsoft.VisualStudio.Workspace.ProviderPriority * string[] -> Microsoft.VisualStudio.Workspace.ExportFileContextProviderAttribute
Public Sub New (type As String, priority As ProviderPriority, ParamArray supportedContextTypeGuids As String())
Параметры
- type
- String
Уникальный тип для этого Ифилеконтекстпровидерметадата
- priority
- ProviderPriority
Приоритет поставщика
- supportedContextTypeGuids
- String[]
Коллекция значений, которые могут быть созданы ContextType данным поставщиком.
Применяется к
ExportFileContextProviderAttribute(String, ProviderPriority, Type[], String[])
Инициализирует новый экземпляр класса ExportFileContextProviderAttribute.
public:
ExportFileContextProviderAttribute(System::String ^ type, Microsoft::VisualStudio::Workspace::ProviderPriority priority, cli::array <Type ^> ^ supportedGetContextsTypes, ... cli::array <System::String ^> ^ supportedContextTypeGuids);
public ExportFileContextProviderAttribute (string type, Microsoft.VisualStudio.Workspace.ProviderPriority priority, Type[] supportedGetContextsTypes, params string[] supportedContextTypeGuids);
new Microsoft.VisualStudio.Workspace.ExportFileContextProviderAttribute : string * Microsoft.VisualStudio.Workspace.ProviderPriority * Type[] * string[] -> Microsoft.VisualStudio.Workspace.ExportFileContextProviderAttribute
Public Sub New (type As String, priority As ProviderPriority, supportedGetContextsTypes As Type(), ParamArray supportedContextTypeGuids As String())
Параметры
- type
- String
Уникальный тип для этого Ифилеконтекстпровидерметадата
- priority
- ProviderPriority
Приоритет поставщика
- supportedGetContextsTypes
- Type[]
Поддерживаемые типы DataContext
- supportedContextTypeGuids
- String[]
Коллекция значений, которые могут быть созданы ContextType данным поставщиком.
Применяется к
ExportFileContextProviderAttribute(FileContextProviderOptions, String, ProviderPriority, Type[], String[])
Инициализирует новый экземпляр класса ExportFileContextProviderAttribute.
public:
ExportFileContextProviderAttribute(Microsoft::VisualStudio::Workspace::FileContextProviderOptions options, System::String ^ type, Microsoft::VisualStudio::Workspace::ProviderPriority priority, cli::array <Type ^> ^ supportedGetContextsTypes, ... cli::array <System::String ^> ^ supportedContextTypeGuids);
public ExportFileContextProviderAttribute (Microsoft.VisualStudio.Workspace.FileContextProviderOptions options, string type, Microsoft.VisualStudio.Workspace.ProviderPriority priority, Type[] supportedGetContextsTypes, params string[] supportedContextTypeGuids);
new Microsoft.VisualStudio.Workspace.ExportFileContextProviderAttribute : Microsoft.VisualStudio.Workspace.FileContextProviderOptions * string * Microsoft.VisualStudio.Workspace.ProviderPriority * Type[] * string[] -> Microsoft.VisualStudio.Workspace.ExportFileContextProviderAttribute
Public Sub New (options As FileContextProviderOptions, type As String, priority As ProviderPriority, supportedGetContextsTypes As Type(), ParamArray supportedContextTypeGuids As String())
Параметры
- options
- FileContextProviderOptions
Параметры Филеконтекстпровидер
- type
- String
Уникальный тип для этого Ифилеконтекстпровидерметадата
- priority
- ProviderPriority
Приоритет поставщика
- supportedGetContextsTypes
- Type[]
Поддерживаемые типы DataContext
- supportedContextTypeGuids
- String[]
Коллекция значений, которые могут быть созданы ContextType данным поставщиком.