Document::Selection Property
Visual Studio 2015
Gets an object representing the current selection on the Document.
Assembly: EnvDTE (in EnvDTE.dll)
Selection returns the current selection in the active window associated with this document (or the topmost window of the document if none is active).
This example works only in Visual Studio .NET 2003. For more information, see .a0b479e4-3c83-4407-986c-1d7353d6a406
Show: