LEADTOOLS (Leadtools assembly)
LEAD Technologies, Inc

Create(IBuffer,UInt64,Boolean) Method






An IBuffer that will be used as storage for the new LeadStream object.
The offset in buffer that will be used as the origin of the new LeadStream object.
Constructs a new ILeadStream using the specified buffer as storage. .NET support WinRT support
Syntax
public static ILeadStream Create( 
   IBuffer buffer,
   ulong offset,
   bool autoDisposeBuffer
)
'Declaration
 
Public Overloads Shared Function Create( _
   ByVal buffer As IBuffer, _
   ByVal offset As ULong, _
   ByVal autoDisposeBuffer As Boolean _
) As ILeadStream
'Usage
 
Dim buffer As IBuffer
Dim offset As ULong
Dim autoDisposeBuffer As Boolean
Dim value As ILeadStream
 
value = LeadStreamFactory.Create(buffer, offset, autoDisposeBuffer)
public static ILeadStream Create( 
   IBuffer buffer,
   ulong offset,
   bool autoDisposeBuffer
)
 function Leadtools.LeadStreamFactory.Create(IBuffer,UInt64,Boolean)( 
   buffer ,
   offset ,
   autoDisposeBuffer 
)
public:
static ILeadStream^ Create( 
   IBuffer^ buffer,
   ulong offset,
   bool autoDisposeBuffer
) 

Parameters

buffer
An IBuffer that will be used as storage for the new LeadStream object.
offset
The offset in buffer that will be used as the origin of the new LeadStream object.
autoDisposeBuffer
true to automatically dispose buffer when the returned ILeadStream object is disposed, otherwise; false.. When this parameter is true, the returned ILeadStream object takes ownership of the buffer.

Return Value

The lead stream object.
Remarks

The returned ILeadStream can be be disposed by casting it as System.IDisposable and use the System.IDisposable.Dispose method.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

LeadStreamFactory Class
LeadStreamFactory Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.