Partager via


VsFinderClass.SetPosition Method

Sets search position.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'Declaration
Public Overridable Function SetPosition ( _
    fp As UInteger, _
    ta As TextAddress _
) As Integer
public virtual int SetPosition(
    uint fp,
    TextAddress ta
)
public:
virtual int SetPosition(
    [InAttribute] unsigned int fp, 
    [InAttribute] TextAddress ta
)
abstract SetPosition : 
        fp:uint32 * 
        ta:TextAddress -> int  
override SetPosition : 
        fp:uint32 * 
        ta:TextAddress -> int
public function SetPosition(
    fp : uint, 
    ta : TextAddress
) : int

Parameters

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

IVsFinder.SetPosition(UInt32, TextAddress)

.NET Framework Security

See Also

Reference

VsFinderClass Class

Microsoft.VisualStudio.TextManager.Interop Namespace