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 -> string
Public Function GetContainingTemplateName (control As Control) As String
Parameters
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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.