VsTextLineStorageClass.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
Public Overridable Function Image_Alloc ( _
    iSize As Integer _
) As IntPtr
public virtual IntPtr Image_Alloc(
    int iSize
)
public:
virtual IntPtr Image_Alloc(
    [InAttribute] int iSize
)
abstract Image_Alloc : 
        iSize:int -> IntPtr  
override Image_Alloc : 
        iSize:int -> IntPtr
public 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.

Implements

IVsPersistentTextImage.Image_Alloc(Int32)

.NET Framework Security

See Also

Reference

VsTextLineStorageClass Class

Microsoft.VisualStudio.TextManager.Interop Namespace