ExportFileExtensionsAttributeBase 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ExportFileExtensionsAttributeBase(String, String[], ProviderPriority, Type)
初始化 ExportFileExtensionsAttributeBase 类的新实例。
public:
ExportFileExtensionsAttributeBase(System::String ^ type, cli::array <System::String ^> ^ supportedFileExtensions, Microsoft::VisualStudio::Workspace::ProviderPriority priority, Type ^ contractType);
public:
ExportFileExtensionsAttributeBase(Platform::String ^ type, Platform::Array <Platform::String ^> ^ supportedFileExtensions, Microsoft::VisualStudio::Workspace::ProviderPriority priority, Platform::Type ^ contractType);
public ExportFileExtensionsAttributeBase (string type, string[] supportedFileExtensions, Microsoft.VisualStudio.Workspace.ProviderPriority priority, Type contractType);
new Microsoft.VisualStudio.Workspace.ExportFileExtensionsAttributeBase : string * string[] * Microsoft.VisualStudio.Workspace.ProviderPriority * Type -> Microsoft.VisualStudio.Workspace.ExportFileExtensionsAttributeBase
Public Sub New (type As String, supportedFileExtensions As String(), priority As ProviderPriority, contractType As Type)
参数
- type
- String
此提供程序的唯一类型
- supportedFileExtensions
- String[]
文件扩展名集 (包括此扫描程序能够分析的前导句点) 。
- priority
- ProviderPriority
提供程序优先级
- contractType
- Type
协定类型
适用于
ExportFileExtensionsAttributeBase(String, String, String[], ProviderPriority, Type)
初始化 ExportFileExtensionsAttributeBase 类的新实例。
public:
ExportFileExtensionsAttributeBase(System::String ^ version, System::String ^ type, cli::array <System::String ^> ^ supportedFileExtensions, Microsoft::VisualStudio::Workspace::ProviderPriority priority, Type ^ contractType);
public:
ExportFileExtensionsAttributeBase(Platform::String ^ version, Platform::String ^ type, Platform::Array <Platform::String ^> ^ supportedFileExtensions, Microsoft::VisualStudio::Workspace::ProviderPriority priority, Platform::Type ^ contractType);
public ExportFileExtensionsAttributeBase (string version, string type, string[] supportedFileExtensions, Microsoft.VisualStudio.Workspace.ProviderPriority priority, Type contractType);
new Microsoft.VisualStudio.Workspace.ExportFileExtensionsAttributeBase : string * string * string[] * Microsoft.VisualStudio.Workspace.ProviderPriority * Type -> Microsoft.VisualStudio.Workspace.ExportFileExtensionsAttributeBase
Public Sub New (version As String, type As String, supportedFileExtensions As String(), priority As ProviderPriority, contractType As Type)
参数
- version
- String
此提供程序的版本
- type
- String
此提供程序的唯一类型
- supportedFileExtensions
- String[]
文件扩展名集 (包括此扫描程序能够分析的前导句点) 。
- priority
- ProviderPriority
提供程序优先级
- contractType
- Type
协定类型
适用于
ExportFileExtensionsAttributeBase(String, String[], String[], ProviderPriority, Type)
初始化 ExportFileExtensionsAttributeBase 类的新实例。
public:
ExportFileExtensionsAttributeBase(System::String ^ type, cli::array <System::String ^> ^ contentTypes, cli::array <System::String ^> ^ filesFilters, Microsoft::VisualStudio::Workspace::ProviderPriority priority, Type ^ contractType);
public:
ExportFileExtensionsAttributeBase(Platform::String ^ type, Platform::Array <Platform::String ^> ^ contentTypes, Platform::Array <Platform::String ^> ^ filesFilters, Microsoft::VisualStudio::Workspace::ProviderPriority priority, Platform::Type ^ contractType);
public ExportFileExtensionsAttributeBase (string type, string[] contentTypes, string[] filesFilters, Microsoft.VisualStudio.Workspace.ProviderPriority priority, Type contractType);
new Microsoft.VisualStudio.Workspace.ExportFileExtensionsAttributeBase : string * string[] * string[] * Microsoft.VisualStudio.Workspace.ProviderPriority * Type -> Microsoft.VisualStudio.Workspace.ExportFileExtensionsAttributeBase
Public Sub New (type As String, contentTypes As String(), filesFilters As String(), priority As ProviderPriority, contractType As Type)
参数
- type
- String
此提供程序的唯一类型
- contentTypes
- String[]
要处理的内容类型列表
- filesFilters
- String[]
匿名内容类型定义
- priority
- ProviderPriority
提供程序优先级
- contractType
- Type
协定类型