VirtualPathUtility Methods
Assembly: System.Web (in System.Web.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | AppendTrailingSlash(String^) | Appends the literal slash mark (/) to the end of the virtual path, if one does not already exist. |
![]() ![]() | Combine(String^, String^) | Combines a base path and a relative path. |
![]() ![]() | GetDirectory(String^) | Returns the directory portion of a virtual path. |
![]() ![]() | GetExtension(String^) | Retrieves the extension of the file that is referenced in the virtual path. |
![]() ![]() | GetFileName(String^) | Retrieves the file name of the file that is referenced in the virtual path. |
![]() ![]() | IsAbsolute(String^) | Returns a Boolean value indicating whether the specified virtual path is absolute; that is, it starts with a literal slash mark (/). |
![]() ![]() | IsAppRelative(String^) | Returns a Boolean value indicating whether the specified virtual path is relative to the application. |
![]() ![]() | MakeRelative(String^, String^) | Returns the relative virtual path from one virtual path containing the root operator (the tilde [~]) to another. |
![]() ![]() | RemoveTrailingSlash(String^) | Removes a trailing slash mark (/) from a virtual path. |
![]() ![]() | ToAbsolute(String^) | Converts a virtual path to an application absolute path. |
![]() ![]() | ToAbsolute(String^, String^) | Converts a virtual path to an application absolute path using the specified application path. |
![]() ![]() | ToAppRelative(String^) | Converts a virtual path to an application-relative path using the application virtual path that is in the AppDomainAppVirtualPath property. |
![]() ![]() | ToAppRelative(String^, String^) | Converts a virtual path to an application-relative path using a specified application path. |

