PortalContext.Current Property
Gets the current portal context.
Namespace: Microsoft.SharePoint.Portal
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
Public Shared ReadOnly Property Current As PortalContext
Get
'Usage
Dim value As PortalContext
value = PortalContext.Current
public static PortalContext Current { get; }
Property Value
Type: Microsoft.SharePoint.Portal.PortalContext
A PortalContext object representing the current context.