TemplateEditingService.GetContainingTemplateName(Control) Method      
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 -> stringPublic Function GetContainingTemplateName (control As Control) As StringParameters
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.