SiteAdmin.GetVirtualPath Method
Creates a new virtual path using the admin virtual path and the specified virtual path.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Namespace: System.Web.WebPages.Administration
Assembly: System.Web.WebPages.Administration (in System.Web.WebPages.Administration.dll)
Syntax
'Declaration
Public Shared Function GetVirtualPath ( _
virtualPath As String _
) As String
'Usage
Dim virtualPath As String
Dim returnValue As String
returnValue = SiteAdmin.GetVirtualPath(virtualPath)
public static string GetVirtualPath(
string virtualPath
)
public:
static String^ GetVirtualPath(
String^ virtualPath
)
static member GetVirtualPath :
virtualPath:string -> string
public static function GetVirtualPath(
virtualPath : String
) : String
Parameters
- virtualPath
Type: System.String
The virtual path used to create a new one.
Return Value
Type: System.String
The newly created virtual path.