ICodeLensDescriptorContextProvider.GetCurrentContextAsync 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.
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)