IProjectFilesProvider.GetProjectFiles(String, CancellationToken) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get the project files
C++
public:
System::Threading::Tasks::Task<System::Collections::Generic::IReadOnlyCollection<System::String ^> ^> ^ GetProjectFiles(System::String ^ projectPath, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyCollection<string>> GetProjectFiles(string projectPath, System.Threading.CancellationToken cancellationToken);
abstract member GetProjectFiles : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyCollection<string>>
Public Function GetProjectFiles (projectPath As String, cancellationToken As CancellationToken) As Task(Of IReadOnlyCollection(Of String))
- projectPath
- String
Path to a project File
- cancellationToken
- CancellationToken
A Cancellation token
Array of FileSystemInfo
Produit | Versions |
---|---|
Visual Studio SDK | 2017, 2019, 2022 |