Compartilhar via


SPFeature.Definition Property

Gets the definition of the Feature.

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

Syntax

'Declaration
Public ReadOnly Property Definition As SPFeatureDefinition
    Get
'Usage
Dim instance As SPFeature
Dim value As SPFeatureDefinition

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

Property Value

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

See Also

Reference

SPFeature Class

SPFeature Members

Microsoft.SharePoint Namespace