VsTextLineStorageClass::Storage_CopyText Method (Int32, Int32, Int32, IntPtr, Int32)
Visual Studio 2015
Copy the specified text.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
public: virtual int Storage_CopyText( int iStartLine, int iStartIndex, int iBufMax, IntPtr pszDest, [OutAttribute] int% pcCharsCopied )
Parameters
- iStartLine
-
Type:
System::Int32
[in] Line containing the start of text to be copied.
- iStartIndex
-
Type:
System::Int32
[in] Starting character index within the line. Must be <= length of line.
- iBufMax
-
Type:
System::Int32
[in] Size of pzeDest destination buffer.
- pszDest
-
Type:
System::IntPtr
[in] Destination buffer.
- pcCharsCopied
-
Type:
System::Int32
[out] Number of characters copied.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Show: