Compartir a través de


Workspace.TryGetWorkspace(SourceTextContainer, Workspace) Método

Definición

Obtiene el área de trabajo asociada al contenedor de texto específico.

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

Parámetros

textContainer
SourceTextContainer
workspace
Workspace

Devoluciones

Se aplica a