Click or drag to resize

FileIOHelper Class

Contains helpers for making names safe for use in the file system.
Inheritance Hierarchy
SystemObject
  Altaxo.SerializationFileIOHelper

Namespace: Altaxo.Serialization
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public class FileIOHelper

The FileIOHelper type exposes the following members.

Constructors
 NameDescription
Public methodFileIOHelperInitializes a new instance of the FileIOHelper class
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodStatic memberGetValidFullPathName Get a valid full file name out of a raw file name that can contain invalid characters. Those characters are replaced by unicode chars. Here, special measures are taken to not accidentally replace the question mark and colon in absolute file names, starting with e.g. C:\... or \\?\C:\....
Public methodStatic memberGetValidPathNameFragment Get a valid file name part out of a raw file name that can contain invalid characters. Those characters are replaced by unicode characters. Attention: the provided name should not be an absolute file name. This is because here, in a file name like C:\Temp.txt, the colon would be replaced by a unicode character. If an absolute name needs to be processed, use the function GetValidFullPathName(String). Backslash chars are sustained.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Fields
 NameDescription
Public fieldStatic memberInvalidFileNameChars 
Top
See Also