Project.TryGetCompilation(Compilation) 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.
Tries to get the cached Compilation for this project if it has already been created and is still cached. In almost all cases you should call GetCompilationAsync(CancellationToken) which will either return the cached Compilation or create a new one otherwise.
public:
bool TryGetCompilation([Runtime::InteropServices::Out] Microsoft::CodeAnalysis::Compilation ^ % compilation);
public bool TryGetCompilation (out Microsoft.CodeAnalysis.Compilation compilation);
public bool TryGetCompilation (out Microsoft.CodeAnalysis.Compilation? compilation);
member this.TryGetCompilation : Compilation -> bool
Public Function TryGetCompilation (ByRef compilation As Compilation) As Boolean
Parameters
- compilation
- Compilation
Returns
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.