WebAdministrationSelector.GetItem method

Retrieve the currently select SPWeb. If there is no selected qeb nor site collection then null is returned.

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

Syntax

'Declaration
Protected Overrides Function GetItem As SPWeb
'Usage
Dim returnValue As SPWeb

returnValue = Me.GetItem()
protected override SPWeb GetItem()

Return value

Type: Microsoft.SharePoint.SPWeb

See also

Reference

WebAdministrationSelector class

WebAdministrationSelector members

Microsoft.SharePoint.WebControls namespace