Export (0) Print
Expand All

SPField.GetProperty method

Gets the value of the specified property.

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

'Declaration
Public Overridable Function GetProperty ( _
	propertyName As String _
) As String
'Usage
Dim instance As SPField
Dim propertyName As String
Dim returnValue As String

returnValue = instance.GetProperty(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.

Show:
© 2014 Microsoft