OPC Studio User's Guide and Reference
IWritableFileInfoExtension Class Members
Methods 


OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Extensions.FileProviders Namespace : IWritableFileInfoExtension Class

The following tables list the members exposed by IWritableFileInfoExtension.

Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)Copies an existing file to a new file, disallowing the overwriting of an existing file.  
Public Methodstatic (Shared in Visual Basic)Overloaded. Creates a System.IO.StreamWriter that appends text to the file represented by this instance of the IWritableFileInfo.  
Public Methodstatic (Shared in Visual Basic)Overloaded. Creates a System.IO.StreamWriter that writes a new text file.  
Public Methodstatic (Shared in Visual Basic)Overloaded. Creates a new file with read/write access, returning a System.IO.Stream to access its data.  
Public Methodstatic (Shared in Visual Basic)Permanently deletes a file, specifying whether the file must exist.  
Public Methodstatic (Shared in Visual Basic)Permanently deletes a file, if it exists.  
Public Method (Inherited from object)
Public MethodServes as the default hash function. (Inherited from object)
Public MethodGets the System.Type of the current instance. (Inherited from object)
Public Methodstatic (Shared in Visual Basic)Overloaded. Loads a file in an abstract writable file provider with a contents of normal (operating system) file.  
Public Methodstatic (Shared in Visual Basic)Moves a specified file to a new location, providing the option to specify a new file name.  
Public Methodstatic (Shared in Visual Basic)Overloaded. Moves the file represented by a writable file info to a destination writable file info.  
Public Methodstatic (Shared in Visual Basic)Renames a file.  
Public Methodstatic (Shared in Visual Basic)Overloaded. Replaces the contents of a specified file with the file described by the current IWritableFileInfo object, deleting the original target file.  
Public MethodReturns a string that represents the current object. (Inherited from object)
Public Methodstatic (Shared in Visual Basic)Overloaded. Writes binary data to a file in an abstract writable file provider.  
Public Methodstatic (Shared in Visual Basic)Overloaded. Writes text to a file in an abstract writable file provider.  
Top
Protected Methods
 NameDescription
Protected MethodAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from object)
Protected MethodCreates a shallow copy of the current System.Object. (Inherited from object)
Top
See Also

Reference

IWritableFileInfoExtension Class
OpcLabs.BaseLib.Extensions.FileProviders Namespace