Share via


SPField.GetProperty method

Gets the value of the specified property.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

public virtual string GetProperty(
    string propertyName
)

Parameters

Return value

Type: System.String
The property value.

Exceptions

Exception Condition
ArgumentNullException

propertyName is null or empty.

Remarks

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

See also

Reference

SPField class

SPField members

Microsoft.SharePoint namespace