Freigeben über


ICodeLensDescriptorContextProvider.GetCurrentContextAsync Method

Definition

Gets current context properties of a code element tagged with ICodeLensTag2.

public:
 System::Threading::Tasks::Task<Microsoft::VisualStudio::Language::CodeLens::CodeLensDescriptorContext ^> ^ GetCurrentContextAsync();
public System.Threading.Tasks.Task<Microsoft.VisualStudio.Language.CodeLens.CodeLensDescriptorContext> GetCurrentContextAsync ();
abstract member GetCurrentContextAsync : unit -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Language.CodeLens.CodeLensDescriptorContext>
Public Function GetCurrentContextAsync () As Task(Of CodeLensDescriptorContext)

Returns

Applies to