Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
public virtual string GetProperty(
string propertyName
)
propertyName
Type: System.StringThe name of the property.
Type: System.String
The property value.
Exception | Condition |
---|---|
ArgumentNullException | propertyName is null or empty. |
This method optimizes access to commonly used field attributes and extends returning user-defined field attributes.