次の方法で共有


ModuleListPage.DefaultGrouping プロパティ

定義

既定のグループ化を取得します。

protected:
 virtual property Microsoft::Web::Management::Client::ModuleListPageGrouping ^ DefaultGrouping { Microsoft::Web::Management::Client::ModuleListPageGrouping ^ get(); };
protected virtual Microsoft.Web.Management.Client.ModuleListPageGrouping DefaultGrouping { get; }
member this.DefaultGrouping : Microsoft.Web.Management.Client.ModuleListPageGrouping
Protected Overridable ReadOnly Property DefaultGrouping As ModuleListPageGrouping

プロパティ値

既定 ModuleListPageGrouping のオブジェクト。

次の例では、既定のグループ化を [エントリの種類] に設定します。

internal class DemoPage : ModuleListPage {

    public DemoPage() : base() { }
    ModuleListPageGrouping _entryTypeGrouping;

protected override 
    ModuleListPageGrouping DefaultGrouping {

    get {
        if (_entryTypeGrouping == null) {
            _entryTypeGrouping = setMyGrouping();
        }
        return _entryTypeGrouping;
    }
}

注釈

このプロパティは、IIS マネージャーの [ グループ 化] ドロップダウン リストの既定のビューを設定します。 IIS マネージャーでは、サーバー、サイト、およびアプリケーション レベルでの既定のグループ化は Area です。 [アプリケーション プール] ページと [サイト] ページの既定のグループ化は [グループ化なし] です。

既定の実装では、 Microsoft.Web.Management.Client.ModuleListPageGrouping プロパティと Text プロパティの文字列 "No Grouping" で作成された オブジェクトをName取得します。

適用対象