[]
Gets the custom property value as a boolean.
public static bool GetCustomPropertyAsBoolean(this CustomReportItem reportItem, string propertyName, bool defaultValue)
| Type | Name | Description |
|---|---|---|
| CustomReportItem | reportItem | The custom report item. |
| string | propertyName | The name of the custom property. |
| bool | defaultValue | The default value to return if the property does not exist or cannot be converted. |
| Type | Description |
|---|---|
| bool | The custom property value as a boolean, or the default value if the property does not exist or cannot be converted. |