4.5.3
OPCItems Properties
4.5.3.1
Parent
Description
(Read-only) Returns reference to the parent OPCGroup object.
Syntax
Parent As OPCGroup
4.5.3.2
DefaultRequestedDataType
Description
(Read/Write) The requested data type that will be used in calls to Add. This property defaults to
VT_EMPTY (which means the server sends data in the server canonical data type).
Syntax
DefaultRequestedDataType As Integer
Remarks
Any legal Variant type can be passed as a requested data type.
See Also
Appendix A - OPC Automation Error Handling
Appendix D- Notes On Automation Data Types
Example
VB Syntax Example (getting the property):
Dim CurrentValue As Integer
Dim SomeValue As Integer
CurrentValue = AnOPCItemCollection.DefaultRequestedDataType
VB Syntax Example (setting the property):
AnOPCItemCollection.DefaultRequestedDataType = SomeValue
Do'stlaringiz bilan baham: |