PagesSection.Theme 속성

정의

ASP.NET 페이지 테마의 이름을 가져오거나 설정합니다.

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

속성 값

String

ASP.NET 페이지 테마의 이름입니다.

특성

예제

다음 코드 예제에서는 Theme 속성을 사용하는 방법을 보여 줍니다.

// 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"

적용 대상

추가 정보