Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SPFeature.Parent Property

Gets the parent object that represents the scope of the Feature.

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

public Object Parent { get; }

Property Value

Type: System.Object
An object that represents the scope of the Feature. If the scope is SPFeatureScope.Web, then the return value is an SPWeb object boxed as type Object. If the scope is SPFeatureScope.Site, then the return value is an SPSite object boxed as type System.Object.
Show:
© 2015 Microsoft