VsTextImageClass::GetOffsetOfTextAddress Method (TextAddress, Int32)
Visual Studio 2015
Return the buffer address of a given text address.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
public: virtual int GetOffsetOfTextAddress( TextAddress ta, [OutAttribute] int% piOffset )
Parameters
- ta
-
Type:
Microsoft.VisualStudio.TextManager.Interop::TextAddress
[in] Specifies the requested text address.
- piOffset
-
Type:
System::Int32
[out] Pointer to an integer containing the offset from the start of the text image buffer.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Show: