GetColumnValue method (EventItem object)
Returns the value of the specified event column. Read-only. String.
Syntax
object
.GetColumnValue(
ColumnName
as String
) as Variant
where
object
—the EventItem object.ColumnName
—a string that corresponds to a valid column name in an AlarmEventSummary or AlarmEventBanner.If the method fails to get the value for a field, an ftasErrorInvalidColumnName error is raised. The method could fail because the column name is not valid or because the EventItem object does not contain the column.
Example
Private Sub AlarmEventSummary1_EventClick(ByVal Item As FTAlarmEventSummary.IEventItem)MsgBox "Clicked on: " & Item.GetColumnValue("EventSource")End Sub
Possible errors
- ftasErrorInvalidColumnName
Provide Feedback