Condividi tramite


VariationsLabelEcbMenu Class

NOTE: This API is now obsolete.

This class or member is deprecated. When you upgrade or write new applications that use this class or member, use the new class or member instead. A sample UI control that shows how to connect to the control to display a drop-down menu of the Variation peer links to the current Page.

Inheritance Hierarchy

System.Object
  System.Web.UI.Control
    System.Web.UI.WebControls.WebControl
      System.Web.UI.WebControls.BaseDataBoundControl
        System.Web.UI.WebControls.HierarchicalDataBoundControl
          Microsoft.SharePoint.Publishing.WebControls.VariationsLabelEcbMenu

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
<ObsoleteAttribute("Use of this control is not recommended.", False)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class VariationsLabelEcbMenu _
    Inherits HierarchicalDataBoundControl
'Usage
Dim instance As VariationsLabelEcbMenu
[ObsoleteAttribute("Use of this control is not recommended.", false)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class VariationsLabelEcbMenu : HierarchicalDataBoundControl

Remarks

You can modify the presentation of user interface (UI) links by substituting a different control and connecting that to the VariationDataSource.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

VariationsLabelEcbMenu Members

Microsoft.SharePoint.Publishing.WebControls Namespace