VsTextViewClass.SetSelectionMode-Methode
Legt den Auswahlmodus fest.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Declaration
Public Overridable Function SetSelectionMode ( _
iSelMode As TextSelMode _
) As Integer
public virtual int SetSelectionMode(
TextSelMode iSelMode
)
public:
virtual int SetSelectionMode(
[InAttribute] TextSelMode iSelMode
)
abstract SetSelectionMode :
iSelMode:TextSelMode -> int
override SetSelectionMode :
iSelMode:TextSelMode -> int
public function SetSelectionMode(
iSelMode : TextSelMode
) : int
Parameter
iSelMode
Typ: Microsoft.VisualStudio.TextManager.Interop.TextSelMode[in] Eine ganze Zahl, die den Auswahlmodus enthält.
Rückgabewert
Typ: Int32
Implementiert
IVsTextView.SetSelectionMode(TextSelMode)
.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.