Partager via


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

'Déclaration
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

  • 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

See Also

Reference

IVsPersistentTextImage Interface

Microsoft.VisualStudio.TextManager.Interop Namespace