IVsFinder::SetPosition Method (UInt32, TextAddress)

 

Sets search positions

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

int SetPosition(
	unsigned int fp,
	TextAddress ta
)

Parameters

fp
Type: System::UInt32

[in] Search position. Values are taken from the __VSFINDPOS enum.

ta
Type: Microsoft.VisualStudio.TextManager.Interop::TextAddress

[in] The text address.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From textfind.idl:

HRESULT IVsFinder::SetPosition(
   [in] VSFINDPOS fp,
   [in] TextAddress ta
);
Return to top
Show: