次の方法で共有


WebPageBase.DefineSection(String, SectionWriter) メソッド

定義

名前付きコンテンツ セクションを作成するときにコンテンツ ページによって呼び出されます。

public void DefineSection (string name, System.Web.WebPages.SectionWriter action);
member this.DefineSection : string * System.Web.WebPages.SectionWriter -> unit
Public Sub DefineSection (name As String, action As SectionWriter)

パラメーター

name
String

作成するセクションの名前。

action
SectionWriter

新しいセクションで実行するアクションの種類。

適用対象