다음을 통해 공유


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)
Available in Sandboxed Solutions: No

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