IVsSolutionWorkspaceNugetService.GetProjectJsonDataAsync Method
Definition
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.
Gets data stored in the project.json file included in the project.
public:
System::Threading::Tasks::Task<System::Collections::Generic::IEnumerable<System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^> ^> ^ GetProjectJsonDataAsync(System::String ^ projectFile, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<System.Collections.Generic.IDictionary<string,object>>> GetProjectJsonDataAsync (string projectFile, System.Threading.CancellationToken cancellationToken);
abstract member GetProjectJsonDataAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<System.Collections.Generic.IDictionary<string, obj>>>
Public Function GetProjectJsonDataAsync (projectFile As String, cancellationToken As CancellationToken) As Task(Of IEnumerable(Of IDictionary(Of String, Object)))
Parameters
- projectFile
- String
Path of the project file
- cancellationToken
- CancellationToken
Optional cancellation token
Returns
Data stored in the project.json file included in the project.