Compartir a través de


IVsPersistentTextImage.Image_Alloc Method

Allocates space of specified size for persistent disk image storage.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'Declaration
Function Image_Alloc ( _
    iSize As Integer _
) As IntPtr
IntPtr Image_Alloc(
    int iSize
)
IntPtr Image_Alloc(
    [InAttribute] int iSize
)
abstract Image_Alloc : 
        iSize:int -> IntPtr
function Image_Alloc(
    iSize : int
) : IntPtr

Parameters

  • iSize
    Type: System.Int32

    [in] The size of the space to be allocated

Return Value

Type: System.IntPtr
Returns a pointer to the allocated text image space.

Remarks

COM Signature

From textmgr.idl:

void * IVsPersistentTextImage::Image_Alloc(
   [in] int iSize
);

.NET Framework Security

See Also

Reference

IVsPersistentTextImage Interface

Microsoft.VisualStudio.TextManager.Interop Namespace