Bagikan melalui


DataListDesigner.GetTemplateContainerDataItemProperty(String) Metode

Definisi

Perhatian

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

IDataItemContainer.DataItem Mendapatkan properti kontainer templat.

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

Parameter

templateName
String

Nama templat.

Mengembalikan

Properti IDataItemContainer.DataItem kontainer templat.

Atribut

Keterangan

Metode GetTemplateContainerDataItemProperty ini usang. Untuk mengakses metadata templat, lihat TemplateDefinition.

Berlaku untuk

Lihat juga