IdeaBlade DevForce 2010 Help Reference
WriteStream Method
See Also  Send Feedback
IdeaBlade.Core Assembly > IdeaBlade.Core Namespace > FileFns Class : WriteStream Method



fileName
The file to write to
stream
A stream to write to the file
Write a stream into a file either creating the file or replacing its current contents

Syntax

Visual Basic (Declaration) 
Public Shared Sub WriteStream( _
   ByVal fileName As String, _
   ByVal stream As Stream _
) 
Visual Basic (Usage)Copy Code
Dim fileName As String
Dim stream As Stream
 
FileFns.WriteStream(fileName, stream)
C# 
public static void WriteStream( 
   string fileName,
   Stream stream
)
C++/CLI 
public:
static void WriteStream( 
   String^ fileName,
   Stream^ stream
) 

Parameters

fileName
The file to write to
stream
A stream to write to the file

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.