IVsTextSelectionAction.SetDestination Method
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Déclaration
Function SetDestination ( _
pSelState As SELECTIONSTATE() _
) As Integer
'Utilisation
Dim instance As IVsTextSelectionAction
Dim pSelState As SELECTIONSTATE()
Dim returnValue As Integer
returnValue = instance.SetDestination(pSelState)
int SetDestination(
SELECTIONSTATE[] pSelState
)
int SetDestination(
[InAttribute] array<SELECTIONSTATE>^ pSelState
)
abstract SetDestination :
pSelState:SELECTIONSTATE[] -> int
function SetDestination(
pSelState : SELECTIONSTATE[]
) : int
Parameters
- pSelState
Type: array<Microsoft.VisualStudio.TextManager.Interop.SELECTIONSTATE[]
[out] Fills the SELECTIONSTATE struct with the state values of the selected text destination.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsTextSelectionAction::SetDestination(
[in] SELECTIONSTATE *pSelState
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IVsTextSelectionAction Interface