Edytuj

Udostępnij za pośrednictwem


ITemplateEditingService.GetContainingTemplateName(Control) Method

Definition

Gets the name of the parent template.

public:
 System::String ^ GetContainingTemplateName(System::Web::UI::Control ^ control);
public string GetContainingTemplateName (System.Web.UI.Control control);
abstract member 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.

Remarks

Note

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

Applies to

See also