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
'宣告
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
- 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.