'Declaration Public Shared Function GetCustomPropertyAsBoolean( _ ByVal reportItem As CustomReportItem, _ ByVal propertyName As String, _ ByVal defaultValue As Boolean _ ) As Boolean
public static bool GetCustomPropertyAsBoolean( CustomReportItem reportItem, string propertyName, bool defaultValue )
Parameters
- reportItem
- The custom report item.
- propertyName
- The name of the custom property.
- defaultValue
- The default value to return if the property does not exist or cannot be converted.
Return Value
The custom property value as a boolean, or the default value if the property does not exist or cannot be converted.