Condividi tramite


VsFinderClass.SetPosition(UInt32, TextAddress) Method

Definition

Sets search position.

public:
 virtual int SetPosition(System::UInt32 fp, Microsoft::VisualStudio::TextManager::Interop::TextAddress ta) = Microsoft::VisualStudio::TextManager::Interop::IVsFinder::SetPosition;
public:
 virtual int SetPosition(System::UInt32 fp, Microsoft::VisualStudio::TextManager::Interop::TextAddress ta);
public:
 virtual int SetPosition(unsigned int fp, Microsoft::VisualStudio::TextManager::Interop::TextAddress ta) = Microsoft::VisualStudio::TextManager::Interop::IVsFinder::SetPosition;
 virtual int SetPosition(unsigned int fp, Microsoft::VisualStudio::TextManager::Interop::TextAddress ta);
public virtual int SetPosition (uint fp, Microsoft.VisualStudio.TextManager.Interop.TextAddress ta);
abstract member SetPosition : uint32 * Microsoft.VisualStudio.TextManager.Interop.TextAddress -> int
override this.SetPosition : uint32 * Microsoft.VisualStudio.TextManager.Interop.TextAddress -> int
Public Overridable Function SetPosition (fp As UInteger, ta As TextAddress) As Integer

Parameters

fp
UInt32

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

ta
TextAddress

[in] The text address.

Returns

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

Implements

Applies to