Freigeben über


VsTextImageClass.GetTextAddressOfOffset(Int32, TextAddress[]) Method

Definition

Returns the text address of a given buffer address.

public:
 virtual int GetTextAddressOfOffset(int iOffset, cli::array <Microsoft::VisualStudio::TextManager::Interop::TextAddress> ^ pta) = Microsoft::VisualStudio::TextManager::Interop::IVsTextImage::GetTextAddressOfOffset;
public:
 virtual int GetTextAddressOfOffset(int iOffset, cli::array <Microsoft::VisualStudio::TextManager::Interop::TextAddress> ^ pta);
public:
 virtual int GetTextAddressOfOffset(int iOffset, Platform::Array <Microsoft::VisualStudio::TextManager::Interop::TextAddress> ^ pta) = Microsoft::VisualStudio::TextManager::Interop::IVsTextImage::GetTextAddressOfOffset;
 virtual int GetTextAddressOfOffset(int iOffset, std::Array <Microsoft::VisualStudio::TextManager::Interop::TextAddress> const & pta);
public virtual int GetTextAddressOfOffset (int iOffset, Microsoft.VisualStudio.TextManager.Interop.TextAddress[] pta);
abstract member GetTextAddressOfOffset : int * Microsoft.VisualStudio.TextManager.Interop.TextAddress[] -> int
override this.GetTextAddressOfOffset : int * Microsoft.VisualStudio.TextManager.Interop.TextAddress[] -> int
Public Overridable Function GetTextAddressOfOffset (iOffset As Integer, pta As TextAddress()) As Integer

Parameters

iOffset
Int32

[in] Integer containing the offset from the start of the text image buffer.

pta
TextAddress[]

[out] Pointer to the text address.

Returns

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

Implements

Applies to