SPFeature.Parent property
Gets the parent object that represents the scope of the Feature.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public ReadOnly Property Parent As Object
Get
'Usage
Dim instance As SPFeature
Dim value As Object
value = instance.Parent
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.