VirtualPoint::CodeElement Property (vsCMElement)
Visual Studio 2015
Returns the code element at the VirtualPoint location.
Assembly: EnvDTE (in EnvDTE.dll)
property CodeElement^ default[ vsCMElement Scope ] { CodeElement^ get(vsCMElement Scope); }
Parameters
- Scope
-
Type:
EnvDTE::vsCMElement
Required. A vsCMElement constant indicating the code element with the specified kind that contains the editor location.
Implements
TextPoint::CodeElement[vsCMElement]If the specified code element type is not at the VirtualPoint location, then the CodeElement object returns Nothing. The CodeElement object is a shortcut for TextPoint.Parent.Parent.ProjectItem.CodeModel.CodeElementFromPoint(TextPoint, <scope>)
Show: