←Select platform

Create(IBuffer,UInt64,Boolean) Method

Summary

Constructs a new ILeadStream using the specified buffer as storage.

Syntax

C#
VB
WinRT C#
C++
public static Leadtools.ILeadStream Create(  
   IBuffer buffer, 
   ulong offset, 
   bool autoDisposeBuffer 
) 
Public Overloads Shared Function Create( _ 
   ByVal buffer As IBuffer, _ 
   ByVal offset As ULong, _ 
   ByVal autoDisposeBuffer As Boolean _ 
) As Leadtools.ILeadStream 
public static Leadtools.ILeadStream Create(  
   IBuffer buffer, 
   ulong offset, 
   bool autoDisposeBuffer 
) 
 function Leadtools.LeadStreamFactory.Create(IBuffer,UInt64,Boolean)(  
   buffer , 
   offset , 
   autoDisposeBuffer  
) 
public: 
static Leadtools.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 dispose of the buffer automatically; otherwise, it is false.

Return Value

The lead stream object.

Remarks

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

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly