Share via


SPBoundField.GetPropertyValue method

Returns a property value as a string.

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

Syntax

'Declaration
Protected Function GetPropertyValue ( _
    dataItem As Object, _
    dataFieldName As String _
) As String
'Usage
Dim dataItem As Object
Dim dataFieldName As String
Dim returnValue As String

returnValue = Me.GetPropertyValue(dataItem, _
    dataFieldName)
protected string GetPropertyValue(
    Object dataItem,
    string dataFieldName
)

Parameters

Return value

Type: System.String
Returns String.

See also

Reference

SPBoundField class

SPBoundField members

Microsoft.SharePoint.WebControls namespace