MasterPage.InstantiateInContentPlaceHolder Method (Control, ITemplate)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

member InstantiateInContentPlaceHolder : 
        contentPlaceHolder:Control *
        template:ITemplate -> unit

Parameters

contentPlaceHolder
Type: System.Web.UI.Control

The control that represents the container of the content.

template
Type: System.Web.UI.ITemplate

The Content instance to use.

.NET Framework
Available since 4.0
Return to top
Show: