This topic has not yet been rated - Rate this topic

SPField.SetCustomProperty method

Sets a value for the specified property.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
public void SetCustomProperty(
	string propertyName,
	Object propertyValue
)

Parameters

propertyName
Type: System.String
The property name.
propertyValue
Type: System.Object
The property value.
ExceptionCondition
ArgumentNullException

propertyName is empty or null .

This method sets the value for the specified property.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.