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 custom property with the specified name.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
'Declaration
Public Function GetCustomProperty ( _
propertyName As String _
) As Object
'Usage
Dim instance As SPField
Dim propertyName As String
Dim returnValue As Object
returnValue = instance.GetCustomProperty(propertyName)
public Object GetCustomProperty(
string propertyName
)
propertyName
Type: System.StringThe name of the property.
Type: System.Object
The value of the property.
Exception | Condition |
---|---|
ArgumentNullException | propertyName is null or empty. |
This method gets the value of a custom property with the specified property name.