Читати англійською Редагувати

Поділитися через


MasterPage.InstantiateInContentPlaceHolder(Control, ITemplate) Method

Definition

Provides a method to set the current template control to a page that owns the master page.

C#
public void InstantiateInContentPlaceHolder(System.Web.UI.Control contentPlaceHolder, System.Web.UI.ITemplate template);

Parameters

contentPlaceHolder
Control

The control that represents the container of the content.

template
ITemplate

The Content instance to use.

Applies to

Продукт Версії
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1