←Select platform

Create(InMemoryRandomAccessStream,Boolean) Method

Summary

Constructs a new ILeadStream using the specified stream as storage.

Syntax

C#
VB
WinRT C#
C++
public static Leadtools.ILeadStream Create(  
   InMemoryRandomAccessStream stream, 
   bool autoDisposeStream 
) 
Public Overloads Shared Function Create( _ 
   ByVal stream As InMemoryRandomAccessStream, _ 
   ByVal autoDisposeStream As Boolean _ 
) As Leadtools.ILeadStream 
public static Leadtools.ILeadStream Create(  
   InMemoryRandomAccessStream stream, 
   bool autoDisposeStream 
) 
 function Leadtools.LeadStreamFactory.Create(InMemoryRandomAccessStream,Boolean)(  
   stream , 
   autoDisposeStream  
) 
public: 
static Leadtools.ILeadStream^ Create(  
   InMemoryRandomAccessStream^ stream, 
   bool autoDisposeStream 
)  

Parameters

stream
An InMemoryRandomAccessStream that will be used as storage for the new LeadStream object.

autoDisposeStream
true to automatically dispose stream when the returned ILeadStream object is disposed, otherwise; false.. When this parameter is true, the returned ILeadStream object takes ownership of stream.

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