Partilhar via


SPElementDefinitionCollection.ParentFeatureDefinition Property

Gets the Feature definition to which the collection belongs.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public ReadOnly Property ParentFeatureDefinition As SPFeatureDefinition
    Get
'Usage
Dim instance As SPElementDefinitionCollection
Dim value As SPFeatureDefinition

value = instance.ParentFeatureDefinition
public SPFeatureDefinition ParentFeatureDefinition { get; }

Property Value

Type: Microsoft.SharePoint.Administration.SPFeatureDefinition
An SPFeatureDefinition object that represents the Feature definition.

See Also

Reference

SPElementDefinitionCollection Class

SPElementDefinitionCollection Members

Microsoft.SharePoint.Administration Namespace