OPC Studio User's Guide and Reference
IWritableFileInfo Interface Members
Properties  Methods 

OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Extensions.FileProviders Namespace : IWritableFileInfo Interface

The following tables list the members exposed by IWritableFileInfo.

Public Properties
 NameDescription
 Property (Inherited from Microsoft.Extensions.FileProviders.IFileInfo)
 Property (Inherited from Microsoft.Extensions.FileProviders.IFileInfo)
 PropertyGets a value that determines if the current file is read only.  
 Property (Inherited from Microsoft.Extensions.FileProviders.IFileInfo)
 Property (Inherited from Microsoft.Extensions.FileProviders.IFileInfo)
 Property (Inherited from Microsoft.Extensions.FileProviders.IFileInfo)
 Property (Inherited from Microsoft.Extensions.FileProviders.IFileInfo)
Top
Public Methods
 NameDescription
 MethodCopies an existing file to a new file, optionally allowing the overwriting of an existing file.  
 Method (Inherited from Microsoft.Extensions.FileProviders.IFileInfo)
 MethodCreates or opens a file, with the specified mode and access, returning a System.IO.Stream to access its data.  
 MethodPermanently deletes a file.  
 MethodMoves a specified file to a new location, providing the options to specify a new file name and to overwrite the destination file if it already exists.  
 MethodRefreshes the file information from its source. (Inherited from OpcLabs.BaseLib.Extensions.FileProviders.IFileInfo2)
Top
Extension Methods
 NameDescription
Public Extension MethodCopies an existing file to a new file, disallowing the overwriting of an existing file.
Public Extension MethodOverloaded. Copies the file represented by a file info to a destination writable file info.
Public Extension MethodOverloaded. Creates a System.IO.StreamWriter that appends text to the file represented by this instance of the IWritableFileInfo.
Public Extension MethodOverloaded. Creates a System.IO.StreamReader with UTF8 encoding that reads from an existing text file.
Public Extension MethodOverloaded. Creates a System.IO.StreamWriter that writes a new text file.
Public Extension MethodOverloaded. Creates a new file with read/write access, returning a System.IO.Stream to access its data.
Public Extension MethodPermanently deletes a file, specifying whether the file must exist.
Public Extension MethodPermanently deletes a file, if it exists.
Public Extension MethodOverloaded. Loads a file in an abstract writable file provider with a contents of normal (operating system) file.
Public Extension MethodMoves a specified file to a new location, providing the option to specify a new file name.
Public Extension MethodOverloaded. Moves the file represented by a writable file info to a destination writable file info.
Public Extension MethodOverloaded. Returns the contents of a file in an abstract file provider as a byte array.
Public Extension MethodOverloaded. Returns the contents of a text file in an abstract file provider as a System.String.
Public Extension MethodRenames a file.
Public Extension MethodOverloaded. Replaces the contents of a specified file with the file described by the current IWritableFileInfo object, deleting the original target file.
Public Extension MethodOverloaded. Saves the contents of a file from an abstracted file provider into a normal (operating system) file.
Public Extension MethodOverloaded. Writes binary data to a file in an abstract writable file provider.
Public Extension MethodOverloaded. Writes text to a file in an abstract writable file provider.
Top
See Also

Reference

IWritableFileInfo Interface
OpcLabs.BaseLib.Extensions.FileProviders Namespace