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

SPField.GetProperty Method

Gets the value of the specified property.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
public virtual string GetProperty(
	string propertyName
)

Parameters

propertyName
Type: System.String
The name of the property.

Return Value

Type: System.String
The property value.
ExceptionCondition
ArgumentNullException

propertyName is null or empty.

This method optimizes access to commonly used field attributes and extends returning user-defined field attributes.

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

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.