DataListDesigner::GetTemplateContainerDataItemProperty Method (String^)

 
Note: This API is now obsolete.

Gets the IDataItemContainer::DataItem property of the template container.

Namespace:   System.Web.UI.Design.WebControls
Assembly:  System.Design (in System.Design.dll)

public:
[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")]
virtual String^ GetTemplateContainerDataItemProperty(
	String^ templateName
) override

Parameters

templateName
Type: System::String^

The name of the template.

Return Value

Type: System::String^

The IDataItemContainer::DataItem property of the container of the template.

The GetTemplateContainerDataItemProperty method is obsolete. To access the template metadata, see TemplateDefinition.

.NET Framework
Available since 1.1
Return to top
Show: