Export (0) Print
Expand All

SPFeaturePropertyCollection.Add method

Adds the specified Feature property object to the collection.

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

public void Add(
	SPFeatureProperty property
)

Parameters

property
Type: Microsoft.SharePoint.SPFeatureProperty

A Feature property.

ExceptionCondition
ArgumentNullException

The Name property of property is null .

ArgumentException

The value of the value() property of property already exists in the collection.

This method adds the specified Feature property to the collection.

Show:
© 2014 Microsoft