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
合約類型