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
- dataItem
Type: System.Object
- dataFieldName
Type: System.String
Return value
Type: System.String
Returns String.