Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents the base class that is used to switch contexts in the central administration site.
Inheritance Hierarchy
System.Object
System.Web.UI.Control
System.Web.UI.WebControls.WebControl
Microsoft.SharePoint.WebControls.ContextSelector<T>
Microsoft.SharePoint.WebControls.ListAdministrationSelector
Microsoft.SharePoint.WebControls.PersistedObjectContextSelector<T>
Microsoft.SharePoint.WebControls.SiteAdministrationSelector
Microsoft.SharePoint.WebControls.WebAdministrationSelector
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public MustInherit Class ContextSelector(Of T) _
Inherits WebControl _
Implements IPostBackEventHandler, INamingContainer
'Usage
Dim instance As ContextSelector(Of T)
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public abstract class ContextSelector<T> : WebControl,
IPostBackEventHandler, INamingContainer
Type Parameters
- T
An SPPersistedObject type.
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.