VsTextLineStorageClass.Storage_CopyText Method
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
‘선언
Public Overridable Function Storage_CopyText ( _
iStartLine As Integer, _
iStartIndex As Integer, _
iBufMax As Integer, _
pszDest As IntPtr, _
<OutAttribute> ByRef pcCharsCopied As Integer _
) As Integer
‘사용 방법
Dim instance As VsTextLineStorageClass
Dim iStartLine As Integer
Dim iStartIndex As Integer
Dim iBufMax As Integer
Dim pszDest As IntPtr
Dim pcCharsCopied As Integer
Dim returnValue As Integer
returnValue = instance.Storage_CopyText(iStartLine, _
iStartIndex, iBufMax, pszDest, pcCharsCopied)
public virtual int Storage_CopyText(
int iStartLine,
int iStartIndex,
int iBufMax,
IntPtr pszDest,
out int pcCharsCopied
)
public:
virtual int Storage_CopyText(
[InAttribute] int iStartLine,
[InAttribute] int iStartIndex,
[InAttribute] int iBufMax,
[InAttribute] IntPtr pszDest,
[OutAttribute] int% pcCharsCopied
)
abstract Storage_CopyText :
iStartLine:int *
iStartIndex:int *
iBufMax:int *
pszDest:IntPtr *
pcCharsCopied:int byref -> int
override Storage_CopyText :
iStartLine:int *
iStartIndex:int *
iBufMax:int *
pszDest:IntPtr *
pcCharsCopied:int byref -> int
public function Storage_CopyText(
iStartLine : int,
iStartIndex : int,
iBufMax : int,
pszDest : IntPtr,
pcCharsCopied : int
) : int
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 buffer.
- pszDest
Type: System.IntPtr
[in] Destination buffer.
- pcCharsCopied
Type: System.Int32%
[out] Number of characters copied.
Return Value
Type: System.Int32
Implements
IVsTextStorage.Storage_CopyText(Int32, Int32, Int32, IntPtr, Int32%)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.