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