Share via


SPWorkItemCollection.ParentWeb property

Gets an SPWeb object representing the parent of objects in the SPWorkItemCollection collection, in cases in which the parent is scoped to the level of the Web.

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

Syntax

'Declaration
Public ReadOnly Property ParentWeb As SPWeb
    Get
'Usage
Dim instance As SPWorkItemCollection
Dim value As SPWeb

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

Property value

Type: Microsoft.SharePoint.SPWeb
Returns an SPWeb object that is the parent of the work item collection.

See also

Reference

SPWorkItemCollection class

SPWorkItemCollection members

Microsoft.SharePoint namespace

Microsoft.SharePoint.SPWeb