VariationsLabelEcbMenu.PerformDataBinding método
NOTA: Esta API agora está obsoleta.
Vincula dados.
Namespace: Microsoft.SharePoint.Publishing.WebControls
Assembly: Microsoft.SharePoint.Publishing (em Microsoft.SharePoint.Publishing.dll)
Sintaxe
'Declaração
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
<ObsoleteAttribute("Use of this control is not recommended - use the Variations Client Side OM instead", _
False)> _
Protected Overrides Sub PerformDataBinding
'Uso
Me.PerformDataBinding()
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[ObsoleteAttribute("Use of this control is not recommended - use the Variations Client Side OM instead",
false)]
protected override void PerformDataBinding()
Comentários
Variações usa esse método em vez do método DataBind porque o código é derivada da classe HierarchicalDataBoundControl . Colocar a lógica de ligação de dados do controle em PerformDataBinding impede que os eventos DataBinding e DataBound está sendo gerado na ordem errada. Essa é a abordagem de Microsoft ASP.NET 2.0 para fontes de dados hierárquicas.