TemplatedControlDesigner.GetTemplateContainerDataSource Method (String)
.NET Framework (current version)
Note: This API is now obsolete.
Namespace:
System.Web.UI.Design
Assembly: System.Design (in System.Design.dll)
Return to top
Gets the data source of the template's container.
Assembly: System.Design (in System.Design.dll)
[<ObsoleteAttribute("Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true). http://go.microsoft.com/fwlink/?linkid=14202")>] abstract GetTemplateContainerDataSource : templateName:string -> IEnumerable [<ObsoleteAttribute("Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true). http://go.microsoft.com/fwlink/?linkid=14202")>] override GetTemplateContainerDataSource : templateName:string -> IEnumerable
Parameters
- templateName
-
Type:
System.String
The name of the template.
Return Value
Type: System.Collections.IEnumerableThe data source of the container of the specified template.
.NET Framework
Available since 1.1
Available since 1.1
Show: