Document.TryGetSemanticModel(SemanticModel) メソッド

定義

モデルが既に計算されていてキャッシュされている場合は、このドキュメントの現在のセマンティック モデルを取得します。 ほとんどの場合、必要に応じてセマンティック モデルを計算する呼び出しを行 GetSemanticModelAsync(CancellationToken)う必要があります。

public:
 bool TryGetSemanticModel([Runtime::InteropServices::Out] Microsoft::CodeAnalysis::SemanticModel ^ % semanticModel);
public bool TryGetSemanticModel (out Microsoft.CodeAnalysis.SemanticModel semanticModel);
public bool TryGetSemanticModel (out Microsoft.CodeAnalysis.SemanticModel? semanticModel);
member this.TryGetSemanticModel : SemanticModel -> bool
Public Function TryGetSemanticModel (ByRef semanticModel As SemanticModel) As Boolean

パラメーター

semanticModel
SemanticModel

戻り値

適用対象