Leadtools Namespace > LeadStreamFactory Class > Create Method : Create(IOutputStream,Boolean) Method |
public static ILeadStream Create( IOutputStream stream, bool autoDisposeStream )
'Declaration Public Overloads Shared Function Create( _ ByVal stream As IOutputStream, _ ByVal autoDisposeStream As Boolean _ ) As ILeadStream
'Usage Dim stream As IOutputStream Dim autoDisposeStream As Boolean Dim value As ILeadStream value = LeadStreamFactory.Create(stream, autoDisposeStream)
public static ILeadStream Create( IOutputStream stream, bool autoDisposeStream )
function Leadtools.LeadStreamFactory.Create(IOutputStream,Boolean)( stream , autoDisposeStream )
public: static ILeadStream^ Create( IOutputStream^ 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