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