LEADTOOLS (Leadtools assembly)

Create(InMemoryRandomAccessStream,Boolean) Method

Show in webframe







An InMemoryRandomAccessStream that will be used as storage for the new LeadStream object.
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.
Constructs a new ILeadStream using the specified stream as storage.
Syntax
public static ILeadStream Create( 
   InMemoryRandomAccessStream stream,
   bool autoDisposeStream
)
'Declaration
 
Public Overloads Shared Function Create( _
   ByVal stream As InMemoryRandomAccessStream, _
   ByVal autoDisposeStream As Boolean _
) As ILeadStream
'Usage
 
Dim stream As InMemoryRandomAccessStream
Dim autoDisposeStream As Boolean
Dim value As ILeadStream
 
value = LeadStreamFactory.Create(stream, autoDisposeStream)
public static ILeadStream Create( 
   InMemoryRandomAccessStream stream,
   bool autoDisposeStream
)

            

            
 function Leadtools.LeadStreamFactory.Create(InMemoryRandomAccessStream,Boolean)( 
   stream ,
   autoDisposeStream 
)
public:
static 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 System.IDisposable and use the System.IDisposable.Dispose method.

Requirements

Target Platforms

See Also

Reference

LeadStreamFactory Class
LeadStreamFactory Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices

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