Udostępnij za pośrednictwem


SPControl.SetContextSite method

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

Syntax

'Declaration
Public Shared Sub SetContextSite ( _
    context As HttpContext, _
    site As SPSite _
)
'Usage
Dim context As HttpContext
Dim site As SPSiteSPControl.SetContextSite(context, site)
public static void SetContextSite(
    HttpContext context,
    SPSite site
)

Parameters

See also

Reference

SPControl class

SPControl members

Microsoft.SharePoint.WebControls namespace