Share via


PagesSection.StyleSheetTheme プロパティ

定義

ASP.NET スタイル シートのテーマ名を取得または設定します。

public:
 property System::String ^ StyleSheetTheme { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("styleSheetTheme", DefaultValue="")]
public string StyleSheetTheme { get; set; }
[<System.Configuration.ConfigurationProperty("styleSheetTheme", DefaultValue="")>]
member this.StyleSheetTheme : string with get, set
Public Property StyleSheetTheme As String

プロパティ値

ASP.NET スタイル シートのテーマ名。

属性

次のコード例は、StyleSheetTheme プロパティの使用方法を示しています。

// Get the current StyleSheetTheme property value.
Console.WriteLine(
    "Current StyleSheetTheme value: '{0}'",
    pagesSection.StyleSheetTheme);

// Set the StyleSheetTheme property.
pagesSection.StyleSheetTheme =
    "MyCustomStyleSheetTheme";
' Get the current StyleSheetTheme property value.
Console.WriteLine( _
    "Current StyleSheetTheme value: '{0}'", _
    pagesSection.StyleSheetTheme)

' Set the StyleSheetTheme property to
' "MyCustomStyleSheetTheme".
pagesSection.StyleSheetTheme = "MyCustomStyleSheetTheme"

適用対象

こちらもご覧ください