次の方法で共有


DisplayModeProvider.GetAvailableDisplayModesForContext メソッド

定義

この型/メンバーは、.NET Framework インフラストラクチャをサポートしており、コードから直接使用することを意図したものではありません。コンテキスト ベースで使用できる表示モードの一覧を取得します。

public System.Collections.Generic.IEnumerable<System.Web.WebPages.IDisplayMode> GetAvailableDisplayModesForContext(System.Web.HttpContextBase httpContext, System.Web.WebPages.IDisplayMode currentDisplayMode);
member this.GetAvailableDisplayModesForContext : System.Web.HttpContextBase * System.Web.WebPages.IDisplayMode -> seq<System.Web.WebPages.IDisplayMode>
Public Function GetAvailableDisplayModesForContext (httpContext As HttpContextBase, currentDisplayMode As IDisplayMode) As IEnumerable(Of IDisplayMode)

パラメーター

httpContext
HttpContextBase

http コンテキスト ベース。

currentDisplayMode
IDisplayMode

現在の表示モード。

戻り値

コンテキスト ベースで使用できる表示モードの一覧。

適用対象