DataListDesigner.GetTemplateContainerDataItemProperty(String) 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.
Caution
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
Gets the IDataItemContainer.DataItem property of the template container.
public:
 override System::String ^ GetTemplateContainerDataItemProperty(System::String ^ templateName);
	public override string GetTemplateContainerDataItemProperty(string templateName);
	[System.Obsolete("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")]
public override string GetTemplateContainerDataItemProperty(string templateName);
	override this.GetTemplateContainerDataItemProperty : string -> string
	[<System.Obsolete("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 this.GetTemplateContainerDataItemProperty : string -> string
	Public Overrides Function GetTemplateContainerDataItemProperty (templateName As String) As String
	Parameters
- templateName
 - String
 
The name of the template.
Returns
The IDataItemContainer.DataItem property of the container of the template.
- Attributes
 
Remarks
The GetTemplateContainerDataItemProperty method is obsolete. To access the template metadata, see TemplateDefinition.