Leadtools Namespace > LeadStreamFactory Class > Create Method : Create(IRandomAccessStream,Boolean) Method |
public static ILeadStream Create( IRandomAccessStream stream, bool autoDisposeStream )
'Declaration Public Overloads Shared Function Create( _ ByVal stream As IRandomAccessStream, _ ByVal autoDisposeStream As Boolean _ ) As ILeadStream
'Usage Dim stream As IRandomAccessStream Dim autoDisposeStream As Boolean Dim value As ILeadStream value = LeadStreamFactory.Create(stream, autoDisposeStream)
public static ILeadStream Create( IRandomAccessStream stream, bool autoDisposeStream )
function Leadtools.LeadStreamFactory.Create(IRandomAccessStream,Boolean)( stream , autoDisposeStream )
public: static ILeadStream^ Create( IRandomAccessStream^ stream, bool autoDisposeStream )
The returned ILeadStream can be be disposed by casting it as System.IDisposable and use the System.IDisposable.Dispose method.