ExportFileScannerAttribute 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
ExportFileScannerAttribute(String, String, String, Type)
初始化 ExportFileScannerAttribute 類別的新執行個體。
public:
ExportFileScannerAttribute(System::String ^ type, System::String ^ language, System::String ^ fileExtension, Type ^ supportedType);
public:
ExportFileScannerAttribute(Platform::String ^ type, Platform::String ^ language, Platform::String ^ fileExtension, Platform::Type ^ supportedType);
public ExportFileScannerAttribute (string type, string language, string fileExtension, Type supportedType);
new Microsoft.VisualStudio.Workspace.Indexing.ExportFileScannerAttribute : string * string * string * Type -> Microsoft.VisualStudio.Workspace.Indexing.ExportFileScannerAttribute
Public Sub New (type As String, language As String, fileExtension As String, supportedType As Type)
參數
- type
- String
這個IFileScannerMetadata的唯一類型
- language
- String
描述此掃描器適合之檔案類型的簡單名稱。
- fileExtension
- String
檔名或擴展名 (包括此掃描器能夠剖析的前置期間) 。
- supportedType
- Type
要掃描的支援類型
適用於
ExportFileScannerAttribute(String, String, String[], Type[])
初始化 ExportFileScannerAttribute 類別的新執行個體。
public:
ExportFileScannerAttribute(System::String ^ type, System::String ^ language, cli::array <System::String ^> ^ supportedFileExtensions, cli::array <Type ^> ^ supportedTypes);
public:
ExportFileScannerAttribute(Platform::String ^ type, Platform::String ^ language, Platform::Array <Platform::String ^> ^ supportedFileExtensions, Platform::Array <Platform::Type ^> ^ supportedTypes);
public ExportFileScannerAttribute (string type, string language, string[] supportedFileExtensions, Type[] supportedTypes);
new Microsoft.VisualStudio.Workspace.Indexing.ExportFileScannerAttribute : string * string * string[] * Type[] -> Microsoft.VisualStudio.Workspace.Indexing.ExportFileScannerAttribute
Public Sub New (type As String, language As String, supportedFileExtensions As String(), supportedTypes As Type())
參數
- type
- String
這個IFileScannerMetadata的唯一類型
- language
- String
描述此掃描器適合之檔案類型的簡單名稱。
- supportedFileExtensions
- String[]
一組檔名或擴展名 (包括此掃描器能夠剖析的前置期間) 。
- supportedTypes
- Type[]
此檔案掃描器支援的類型清單
適用於
ExportFileScannerAttribute(String, String, String[], Type[], ProviderPriority)
初始化 ExportFileScannerAttribute 類別的新執行個體。
public:
ExportFileScannerAttribute(System::String ^ type, System::String ^ language, cli::array <System::String ^> ^ supportedFileExtensions, cli::array <Type ^> ^ supportedTypes, Microsoft::VisualStudio::Workspace::ProviderPriority priority);
public:
ExportFileScannerAttribute(Platform::String ^ type, Platform::String ^ language, Platform::Array <Platform::String ^> ^ supportedFileExtensions, Platform::Array <Platform::Type ^> ^ supportedTypes, Microsoft::VisualStudio::Workspace::ProviderPriority priority);
public ExportFileScannerAttribute (string type, string language, string[] supportedFileExtensions, Type[] supportedTypes, Microsoft.VisualStudio.Workspace.ProviderPriority priority);
new Microsoft.VisualStudio.Workspace.Indexing.ExportFileScannerAttribute : string * string * string[] * Type[] * Microsoft.VisualStudio.Workspace.ProviderPriority -> Microsoft.VisualStudio.Workspace.Indexing.ExportFileScannerAttribute
Public Sub New (type As String, language As String, supportedFileExtensions As String(), supportedTypes As Type(), priority As ProviderPriority)
參數
- type
- String
這個IFileScannerMetadata的唯一類型
- language
- String
描述此掃描器適合之檔案類型的簡單名稱。
- supportedFileExtensions
- String[]
一組檔名或擴展名 (包括此掃描器能夠剖析的前置期間) 。
- supportedTypes
- Type[]
此檔案掃描器支援的類型清單
- priority
- ProviderPriority
檔案掃描器優先順序
適用於
ExportFileScannerAttribute(FileScannerOptions, String, String, String[], Type[], ProviderPriority)
初始化 ExportFileScannerAttribute 類別的新執行個體。
public:
ExportFileScannerAttribute(Microsoft::VisualStudio::Workspace::Indexing::FileScannerOptions options, System::String ^ type, System::String ^ language, cli::array <System::String ^> ^ supportedFileExtensions, cli::array <Type ^> ^ supportedTypes, Microsoft::VisualStudio::Workspace::ProviderPriority priority);
public:
ExportFileScannerAttribute(Microsoft::VisualStudio::Workspace::Indexing::FileScannerOptions options, Platform::String ^ type, Platform::String ^ language, Platform::Array <Platform::String ^> ^ supportedFileExtensions, Platform::Array <Platform::Type ^> ^ supportedTypes, Microsoft::VisualStudio::Workspace::ProviderPriority priority);
public ExportFileScannerAttribute (Microsoft.VisualStudio.Workspace.Indexing.FileScannerOptions options, string type, string language, string[] supportedFileExtensions, Type[] supportedTypes, Microsoft.VisualStudio.Workspace.ProviderPriority priority);
new Microsoft.VisualStudio.Workspace.Indexing.ExportFileScannerAttribute : Microsoft.VisualStudio.Workspace.Indexing.FileScannerOptions * string * string * string[] * Type[] * Microsoft.VisualStudio.Workspace.ProviderPriority -> Microsoft.VisualStudio.Workspace.Indexing.ExportFileScannerAttribute
Public Sub New (options As FileScannerOptions, type As String, language As String, supportedFileExtensions As String(), supportedTypes As Type(), priority As ProviderPriority)
參數
- options
- FileScannerOptions
FileScanner 選項
- type
- String
這個IFileScannerMetadata的唯一類型
- language
- String
描述此掃描器適合之檔案類型的簡單名稱。
- supportedFileExtensions
- String[]
一組檔名或擴展名 (包括此掃描器能夠剖析的前置期間) 。
- supportedTypes
- Type[]
此檔案掃描器支援的類型清單
- priority
- ProviderPriority
檔案掃描器優先順序
適用於
ExportFileScannerAttribute(FileScannerOptions, String, String, String, String[], Type[], ProviderPriority)
初始化 ExportFileScannerAttribute 類別的新執行個體。
public:
ExportFileScannerAttribute(Microsoft::VisualStudio::Workspace::Indexing::FileScannerOptions options, System::String ^ version, System::String ^ type, System::String ^ language, cli::array <System::String ^> ^ supportedFileExtensions, cli::array <Type ^> ^ supportedTypes, Microsoft::VisualStudio::Workspace::ProviderPriority priority);
public:
ExportFileScannerAttribute(Microsoft::VisualStudio::Workspace::Indexing::FileScannerOptions options, Platform::String ^ version, Platform::String ^ type, Platform::String ^ language, Platform::Array <Platform::String ^> ^ supportedFileExtensions, Platform::Array <Platform::Type ^> ^ supportedTypes, Microsoft::VisualStudio::Workspace::ProviderPriority priority);
public ExportFileScannerAttribute (Microsoft.VisualStudio.Workspace.Indexing.FileScannerOptions options, string version, string type, string language, string[] supportedFileExtensions, Type[] supportedTypes, Microsoft.VisualStudio.Workspace.ProviderPriority priority);
new Microsoft.VisualStudio.Workspace.Indexing.ExportFileScannerAttribute : Microsoft.VisualStudio.Workspace.Indexing.FileScannerOptions * string * string * string * string[] * Type[] * Microsoft.VisualStudio.Workspace.ProviderPriority -> Microsoft.VisualStudio.Workspace.Indexing.ExportFileScannerAttribute
Public Sub New (options As FileScannerOptions, version As String, type As String, language As String, supportedFileExtensions As String(), supportedTypes As Type(), priority As ProviderPriority)
參數
- options
- FileScannerOptions
FileScanner 選項
- version
- String
此提供者的版本
- type
- String
這個IFileScannerMetadata的唯一類型
- language
- String
描述此掃描器適合之檔案類型的簡單名稱。
- supportedFileExtensions
- String[]
一組檔名或擴展名 (包括此掃描器能夠剖析的前置期間) 。
- supportedTypes
- Type[]
此檔案掃描器支援的類型清單
- priority
- ProviderPriority
檔案掃描器優先順序