TemplateEditingService.GetContainingTemplateName(Control) Method

Definition

Gets the name of the parent template.

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

public:
 virtual System::String ^ GetContainingTemplateName(System::Web::UI::Control ^ control);
public string GetContainingTemplateName (System.Web.UI.Control control);
abstract member GetContainingTemplateName : System.Web.UI.Control -> string
override this.GetContainingTemplateName : System.Web.UI.Control -> string
Public Function GetContainingTemplateName (control As Control) As String

Parameters

control
Control

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

Returns

The name of the parent template.

Implements

Remarks

Note

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

Applies to