Compartilhar via


ViewSelectorMenu class

Represents a control used to select a view of a list on a toolbar.

Inheritance hierarchy

System.Object
  System.Web.UI.Control
    Microsoft.SharePoint.WebControls.SPControl
      Microsoft.SharePoint.WebControls.TemplateBasedControl
        Microsoft.SharePoint.WebControls.ToolBarMenuButton
          Microsoft.SharePoint.WebControls.ViewSelectorMenu
            Microsoft.SharePoint.WebControls.ListTitleViewSelectorMenu
            Microsoft.SharePoint.WebControls.MWSViewSelectorMenu

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

Syntax

'Declaration
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public Class ViewSelectorMenu _
    Inherits ToolBarMenuButton
'Usage
Dim instance As ViewSelectorMenu
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public class ViewSelectorMenu : ToolBarMenuButton

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

ViewSelectorMenu members

Microsoft.SharePoint.WebControls namespace