Share via


SPNavigation.Web Property

Gets an SPWeb object representing the Web site.

Namespace:  Microsoft.SharePoint.Navigation
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public ReadOnly Property Web As SPWeb
    Get
'Usage
Dim instance As SPNavigation
Dim value As SPWeb

value = instance.Web
public SPWeb Web { get; }

Property Value

Type: Microsoft.SharePoint.SPWeb
Returns an SPWeb object.

See Also

Reference

SPNavigation Class

SPNavigation Members

Microsoft.SharePoint.Navigation Namespace

Microsoft.SharePoint.SPWeb