Workspace.TryGetWorkspace(SourceTextContainer, Workspace) メソッド

定義

特定のテキスト コンテナーに関連付けられているワークスペースを取得します。

public:
 static bool TryGetWorkspace(Microsoft::CodeAnalysis::Text::SourceTextContainer ^ textContainer, [Runtime::InteropServices::Out] Microsoft::CodeAnalysis::Workspace ^ % workspace);
public static bool TryGetWorkspace (Microsoft.CodeAnalysis.Text.SourceTextContainer textContainer, out Microsoft.CodeAnalysis.Workspace workspace);
public static bool TryGetWorkspace (Microsoft.CodeAnalysis.Text.SourceTextContainer textContainer, out Microsoft.CodeAnalysis.Workspace? workspace);
static member TryGetWorkspace : Microsoft.CodeAnalysis.Text.SourceTextContainer * Workspace -> bool
Public Shared Function TryGetWorkspace (textContainer As SourceTextContainer, ByRef workspace As Workspace) As Boolean

パラメーター

textContainer
SourceTextContainer
workspace
Workspace

戻り値

適用対象