Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5

  Switch on low bandwidth view
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
This page is specific to
Microsoft Visual Studio 2008/.Net Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
VirtualPathUtility Methods

The VirtualPathUtility type exposes the following members.

  NameDescription
Public methodStatic memberAppendTrailingSlash Appends the literal slash mark (/) to the end of the virtual path, if one does not already exist.
Public methodStatic memberCombine Combines a base path and a relative path.
Public methodStatic memberGetDirectory Returns the directory portion of a virtual path.
Public methodStatic memberGetExtension Retrieves the extension of the file that is referenced in the virtual path.
Public methodStatic memberGetFileName Retrieves the file name of the file that is referenced in the virtual path.
Public methodStatic memberIsAbsolute Returns a Boolean value indicating whether the specified virtual path is absolute; that is, it starts with a literal slash mark (/).
Public methodStatic memberIsAppRelative Returns a Boolean value indicating whether the specified virtual path is relative to the application.
Public methodStatic memberMakeRelative Returns the relative virtual path from one virtual path containing the root operator (the tilde [~]) to another.
Public methodStatic memberRemoveTrailingSlash Removes a trailing slash mark (/) from a virtual path.
Public methodStatic memberToAbsoluteOverloaded. Converts a virtual path to an application absolute path.
Public methodStatic memberToAppRelativeOverloaded. Converts a virtual path into an application-relative path.
Top
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker