TemplateEditingService::GetContainingTemplateName Method (Control^)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Gets the name of the parent template.

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

public:
virtual String^ GetContainingTemplateName(
	Control^ control
) sealed

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 TemplateEditingService class 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: