PagesSection.Theme Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the name of an ASP.NET page theme.
public:
property System::String ^ Theme { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("theme", DefaultValue="")]
public string Theme { get; set; }
[<System.Configuration.ConfigurationProperty("theme", DefaultValue="")>]
member this.Theme : string with get, set
Public Property Theme As String
Property Value
The name of an ASP.NET page theme.
- Attributes
Examples
The following code example shows how to use the Theme property.
// Get the current Theme property value.
Console.WriteLine(
"Current Theme value: '{0}'",
pagesSection.Theme);
// Set the Theme property to "MyCustomTheme".
pagesSection.Theme = "MyCustomTheme";
' Get the current Theme property value.
Console.WriteLine( _
"Current Theme value: '{0}'", pagesSection.Theme)
' Set the Theme property to "MyCustomTheme".
pagesSection.Theme = "MyCustomTheme"
Applies to
See also
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.