Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SPField.GetCustomProperty method

Gets the value of custom property with the specified name.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
public Object GetCustomProperty(
	string propertyName
)

Parameters

propertyName
Type: System.String

The name of the property.

Return value

Type: System.Object
The value of the property.
ExceptionCondition
ArgumentNullException

propertyName is null or empty.

This method gets the value of a custom property with the specified property name.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.