The PathUtils type exposes the following members.

Methods

  NameDescription
Public methodAddTrailingSlash
Adds backslash to the specified source.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFormatFolderPath
Formats the provided folder path by adding a slash if needed.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetPhysicalPath
Gets the physical path for the specified relative path.
Public methodGetRelativePath
Gets the relative path for the specified physical path.
Public methodGetRootFolderMapPath
Gets the physical root folder path for the specified portal
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetUserFolderPath
Gets the path to a user folder.
Public methodGetUserFolderPathElement
Get elements from the user folder path.
Public methodIsDefaultProtectedPath
Checks if a folder is a default protected folder.
Public methodMapPath
The MapPath method maps the specified relative or virtual path to the corresponding physical directory on the server.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemoveTrailingSlash
Removes the trailing slash or backslash from the specified source.
Public methodStripFolderPath
Strips the original path by removing starting 0 or 0\\.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Extension Methods

  NameDescription
Public Extension MethodToJson
Extension method on object that serializes the value to Json. Note the type must be marked Serializable or include a DataContract attribute.
(Defined by JsonExtensionsWeb.)

See Also