ITemplateEditingService::GetContainingTemplateName Method (Control^)

 

Gets the name of the parent template.

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

String^ GetContainingTemplateName(
	Control^ control
)

Parameters

control
Type: System.Web.UI::Control^

The Control for which to get the name of the parent template.

Return Value

Type: System::String^

The name of the parent template.

System_CAPS_noteNote

The ITemplateEditingService interface is obsolete. Use the TemplateDefinition property of the TemplatedEditableDesignerRegion class for equivalent design time functionality.

.NET Framework
Available since 1.1
Return to top
Show: