Creates a file in the specified path and having the specified buffer size.
[Visual Basic] Overloads Public Shared Function Create( _ ByVal path As String, _ ByVal bufferSize As Integer _ ) As Stream [C#] public static Stream Create( string path, int bufferSize ); [C++] public: static Stream* Create( String* path, int bufferSize ); [JScript] public static function Create( path : String, bufferSize : int ) : Stream;
A new file with the specified buffer size.
Exception Type | Condition |
---|---|
IOException | The directory specified in |
File Class | File Members | System.IO Namespace | File.Create Overload List