This documentation is archived and is not being maintained.

ITemplateEditingService.GetContainingTemplateName Method

Gets the name of the parent template.

[Visual Basic]
Function GetContainingTemplateName( _
   ByVal control As Control _
) As String
[C#]
string GetContainingTemplateName(
   Control control
);
[C++]
String* GetContainingTemplateName(
   Control* control
);
[JScript]
function GetContainingTemplateName(
   control : Control
) : String;

Parameters

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

Return Value

The name of the parent template.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

ITemplateEditingService Interface | ITemplateEditingService Members | System.Web.UI.Design Namespace

Show: