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
Tehke meiega GitHubis koostööd
Selle sisu allika leiate GitHubist, kus saate ka probleeme luua ja läbi vaadata ning päringuid teha. Lisateavet leiate meie kaasautorite juhendist.