Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Adds the specified Feature property object to the collection.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Sub Add ( _
property As SPFeatureProperty _
)
'Usage
Dim instance As SPFeaturePropertyCollection
Dim property As SPFeatureProperty
instance.Add(property)
public void Add(
SPFeatureProperty property
)
Parameters
property
Type: Microsoft.SharePoint.SPFeaturePropertyA Feature property.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The Name property of property is null . |
ArgumentException | The value of the value() property of property already exists in the collection. |
Remarks
This method adds the specified Feature property to the collection.
See Also
Reference
SPFeaturePropertyCollection Class