VirtualPathUtility Methods
.NET Framework 3.0
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| AppendTrailingSlash | Appends the literal slash mark (/) to the end of the virtual path, if one does not already exist. |
| Combine | Combines a base path and a relative path. |
| Equals | Overloaded. Determines whether two Object instances are equal. (inherited from Object) |
| GetDirectory | Returns the directory portion of a virtual path. |
| GetExtension | Retrieves the extension of the file that is referenced in the virtual path. |
| GetFileName | Retrieves the file name of the file that is referenced in the virtual path. |
| GetHashCode | Serves as a hash function for a particular type. (inherited from Object) |
| GetType | Gets the Type of the current instance. (inherited from Object) |
| IsAbsolute | Returns a Boolean value indicating whether the specified virtual path is absolute; that is, it starts with a literal slash mark (/). |
| IsAppRelative | Returns a Boolean value indicating whether the specified virtual path is relative to the application. |
| MakeRelative | Returns the relative virtual path from one virtual path containing the root operator (the tilde [~]) to another. |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (inherited from Object) |
| RemoveTrailingSlash | Removes a trailing slash mark (/) from a virtual path. |
| ToAbsolute | Overloaded. Converts a virtual path to an application absolute path. |
| ToAppRelative | Overloaded. Converts a virtual path into an application-relative path. |
| ToString | Returns a String that represents the current Object. (inherited from Object) |
| Name | Description | |
|---|---|---|
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object) |
Reference
VirtualPathUtility ClassSystem.Web Namespace
HttpRequest
Other Resources
ASP.NET Web Site PathsCommunity Additions
ADD
Show: