IVsPersistentTextImage.Image_Realloc Method
Reallocates space for the specified text image.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'宣告
Function Image_Realloc ( _
<OutAttribute> ByRef p As IntPtr, _
iSize As Integer _
) As IntPtr
IntPtr Image_Realloc(
out IntPtr p,
int iSize
)
IntPtr Image_Realloc(
[InAttribute] [OutAttribute] IntPtr% p,
[InAttribute] int iSize
)
abstract Image_Realloc :
p:IntPtr byref *
iSize:int -> IntPtr
function Image_Realloc(
p : IntPtr,
iSize : int
) : IntPtr
Parameters
- p
Type: System.IntPtr%
[in, out] The specified text image.
- iSize
Type: System.Int32
[in] The size of the specified text image.
Return Value
Type: System.IntPtr
Returns a pointer to the reallocated text image space.
Remarks
COM Signature
From textmgr.idl:
void * IVsPersistentTextImage::Image_Realloc(
[in,out] void *p,
[in] int iSize
);
.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.