PgVFS.NET
A C# System.IO compatible File System on Postgres
 All Classes Namespaces Functions Enumerations Enumerator Properties Pages
Vfs.IVfsPath Interface Reference

Access to the Path functions of the specified filesystem More...

Public Member Functions

string ChangeExtension (string path, string extension)
 Changes the extension of a path string More...
 
string Combine (params string[] paths)
 Combines an array of strings into a path. More...
 
string GetDirectoryName (string path)
 Returns the directory information for the specified path string More...
 
string GetExtension (string path)
 Returns the extension of the specified path string More...
 
string GetFileName (string path)
 Returns the file name and extension of the specified path string. More...
 
string GetFileNameWithoutExtension (string path)
 Returns the file name of the specified path string without the extension. More...
 
string GetFullPath (string path)
 Returns the absolute path for the specified path string. More...
 
char[] GetInvalidFileNameChars ()
 Gets an array containing the characters that are not allowed in file names. More...
 
char[] GetInvalidPathChars ()
 Gets an array containing the characters that are not allowed in path names. More...
 
string GetPathRoot (string path)
 Gets the root directory information of the specified path. More...
 
bool HasExtension (string path)
 Determines whether a path includes a file name extension. More...
 
bool IsPathRooted (string path)
 Gets a value indicating whether the specified path string contains a root More...
 

Properties

char DirectorySeparatorChar [get]
 Provides a platform-specific alternate character used to separate directory levels in a path string that reflects a hierarchical file system organization. More...
 
char AltDirectorySeparatorChar [get]
 Provides an alt platform-specific alternate character used to separate directory levels in a path string that reflects a hierarchical file system organization. More...
 
char PathSeparator [get]
 A platform-specific separator character used to separate path strings in environment variables More...
 
char VolumeSeparatorChar [get]
 Provides a platform-specific volume separator character. More...
 

Detailed Description

Access to the Path functions of the specified filesystem

Member Function Documentation

string Vfs.IVfsPath.ChangeExtension ( string  path,
string  extension 
)

Changes the extension of a path string

Parameters
path
extension
Returns
string Vfs.IVfsPath.Combine ( params string[]  paths)

Combines an array of strings into a path.

Parameters
paths
Returns
string Vfs.IVfsPath.GetDirectoryName ( string  path)

Returns the directory information for the specified path string

Parameters
path
Returns
string Vfs.IVfsPath.GetExtension ( string  path)

Returns the extension of the specified path string

Parameters
path
Returns
string Vfs.IVfsPath.GetFileName ( string  path)

Returns the file name and extension of the specified path string.

Parameters
path
Returns
string Vfs.IVfsPath.GetFileNameWithoutExtension ( string  path)

Returns the file name of the specified path string without the extension.

Parameters
path
Returns
string Vfs.IVfsPath.GetFullPath ( string  path)

Returns the absolute path for the specified path string.

Parameters
path
Returns
char [] Vfs.IVfsPath.GetInvalidFileNameChars ( )

Gets an array containing the characters that are not allowed in file names.

Returns
char [] Vfs.IVfsPath.GetInvalidPathChars ( )

Gets an array containing the characters that are not allowed in path names.

Returns
string Vfs.IVfsPath.GetPathRoot ( string  path)

Gets the root directory information of the specified path.

Parameters
path
Returns
bool Vfs.IVfsPath.HasExtension ( string  path)

Determines whether a path includes a file name extension.

Parameters
path
Returns
bool Vfs.IVfsPath.IsPathRooted ( string  path)

Gets a value indicating whether the specified path string contains a root

Parameters
path
Returns

Property Documentation

char Vfs.IVfsPath.AltDirectorySeparatorChar
get

Provides an alt platform-specific alternate character used to separate directory levels in a path string that reflects a hierarchical file system organization.

char Vfs.IVfsPath.DirectorySeparatorChar
get

Provides a platform-specific alternate character used to separate directory levels in a path string that reflects a hierarchical file system organization.

char Vfs.IVfsPath.PathSeparator
get

A platform-specific separator character used to separate path strings in environment variables

char Vfs.IVfsPath.VolumeSeparatorChar
get

Provides a platform-specific volume separator character.


The documentation for this interface was generated from the following file: