Themes.GetResourcePath Method (String)
Gets the virtual path of the specified file in the root of the theme folder.
Namespace: Microsoft.Web.Helpers
Assembly: Microsoft.Web.Helpers (in Microsoft.Web.Helpers.dll)
Syntax
'Declaration
Public Shared Function GetResourcePath ( _
fileName As String _
) As String
'Usage
Dim fileName As String
Dim returnValue As String
returnValue = Themes.GetResourcePath(fileName)
public static string GetResourcePath(
string fileName
)
public:
static String^ GetResourcePath(
String^ fileName
)
public static function GetResourcePath(
fileName : String
) : String
Parameters
- fileName
Type: System.String
The file name.
Return Value
Type: System.String
The virtual path of the specified file.
Permissions
- Medium trust for the immediate caller. This member can be used by partially trusted code.