VsTextViewClass.GetSelectionSpan-Methode
Gibt den Textabschnitt zurück, der mit einer Auswahl zugeordnet ist.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Declaration
Public Overridable Function GetSelectionSpan ( _
<OutAttribute> pSpan As TextSpan() _
) As Integer
public virtual int GetSelectionSpan(
TextSpan[] pSpan
)
public:
virtual int GetSelectionSpan(
[OutAttribute] array<TextSpan>^ pSpan
)
abstract GetSelectionSpan :
pSpan:TextSpan[] byref -> int
override GetSelectionSpan :
pSpan:TextSpan[] byref -> int
public function GetSelectionSpan(
pSpan : TextSpan[]
) : int
Parameter
pSpan
Typ: array<Microsoft.VisualStudio.TextManager.Interop.TextSpan[][out]
Rückgabewert
Typ: Int32
Implementiert
IVsTextView.GetSelectionSpan(array<TextSpan[])
.NET Framework-Sicherheit
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter Verwenden von Bibliotheken aus teilweise vertrauenswürdigem Code.