SPField.SetCustomProperty Method
SharePoint 2010
Sets a value for the specified property.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Parameters
- propertyName
- Type: System.String
The property name.
- propertyValue
- Type: System.Object
The property value.
| Exception | Condition |
|---|---|
| ArgumentNullException | propertyName is empty or null. |