Themes.Initialize Method
Initializes a new instance of the class by specifying the path to the theme folder and the default theme.
Namespace: Microsoft.Web.Helpers
Assembly: Microsoft.Web.Helpers (in Microsoft.Web.Helpers.dll)
Syntax
'Declaration
Public Shared Sub Initialize ( _
themeDirectory As String, _
defaultTheme As String _
)
'Usage
Dim themeDirectory As String
Dim defaultTheme As String
Themes.Initialize(themeDirectory, _
defaultTheme)
public static void Initialize(
string themeDirectory,
string defaultTheme
)
public:
static void Initialize(
String^ themeDirectory,
String^ defaultTheme
)
public static function Initialize(
themeDirectory : String,
defaultTheme : String
)
Parameters
- themeDirectory
Type: System.String
The path of the theme folder.
- defaultTheme
Type: System.String
The name of the default theme.
Permissions
- Medium trust for the immediate caller. This member can be used by partially trusted code.