Partage via


DataListDesigner.GetTemplateContainerDataItemProperty(String) Méthode

Définition

Attention

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

Obtient la propriété IDataItemContainer.DataItem du conteneur de modèle.

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

Paramètres

templateName
String

Nom du modèle.

Retours

Propriété IDataItemContainer.DataItem du conteneur du modèle.

Attributs

Remarques

La GetTemplateContainerDataItemProperty méthode est obsolète. Pour accéder aux métadonnées du modèle, consultez TemplateDefinition.

S’applique à

Voir aussi