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.
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