AddProperty(String,Object,HistorianEventPropertyType,HistorianAccessError) Method
- Last UpdatedAug 21, 2026
- 1 minute read
'Declaration
Public Overloads Function AddProperty( _
ByVal propertyName As String, _
ByVal value As Object, _
ByVal type As HistorianEventPropertyType, _
ByRef error As HistorianAccessError _
) As Boolean
'Usage
Dim instance As HistorianEvent
Dim propertyName As String
Dim value As Object
Dim type As HistorianEventPropertyType
Dim error As HistorianAccessError
Dim value As Boolean
value = instance.AddProperty(propertyName, value, type, error)
public bool AddProperty(
string propertyName,
object value,
HistorianEventPropertyType type,
out HistorianAccessError error
)
public:
bool AddProperty(
String^ propertyName,
Object^ value,
HistorianEventPropertyType type,
[Out] HistorianAccessError^ error
)
Parameters
- propertyName
- value
- type
- error