SPFeatureDefinition.Properties property

Gets a standardized property bag object that contains per-Feature settings that are specified in the Feature definition.

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


Public ReadOnly Property Properties As SPFeaturePropertyCollection
Dim instance As SPFeatureDefinition
Dim value As SPFeaturePropertyCollection

value = instance.Properties
public SPFeaturePropertyCollection Properties { get; }

Property value

Type: Microsoft.SharePoint.SPFeaturePropertyCollection
An SPFeaturePropertyCollection object that represents the Feature properties.


The settings returned by this property are not updatable; they reflect the state of the properties that are defined in the Feature definition XML file. For this reason, properties in a Feature definition are read-only. Calls to the Update method from the Feature properties object throw an InvalidOperationException exception, stating “Properties on a Feature definition can not be updated.”

See also


SPFeatureDefinition class

SPFeatureDefinition members

Microsoft.SharePoint.Administration namespace