'Declaration
<ExtensionAttribute()> Public Overloads Shared Function LoadFromOSFile( _ ByVal writableFileInfo As IWritableFileInfo, _ ByVal sourceOSFilePath As String, _ ByVal copyBufferSize As Integer _ ) As Long
'Usage
Dim writableFileInfo As IWritableFileInfo Dim sourceOSFilePath As String Dim copyBufferSize As Integer Dim value As Long value = IWritableFileInfoExtension.LoadFromOSFile(writableFileInfo, sourceOSFilePath, copyBufferSize)
[Extension()] public static long LoadFromOSFile( IWritableFileInfo writableFileInfo, string sourceOSFilePath, int copyBufferSize )
[Extension()] public: static int64 LoadFromOSFile( IWritableFileInfo^ writableFileInfo, String^ sourceOSFilePath, int copyBufferSize )
Parameters
- writableFileInfo
- The writable file info object that will perform the operation.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - sourceOSFilePath
- Path and name of the file in the operating system that should be loaded into the file.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - copyBufferSize
- The size of the copy buffer. This value must be greater than zero. The default size is 81920.
Valid values of this parameter are in the range from
1
to2147483647 (Int32.MaxValue)
.