4.2.3.3
DataType
Description
(Read/Write) The requested data type that applies to ShowLeafs methods. This property defaults to
VT_EMPTY, which means that any data type is acceptable.
Syntax
DataType As Integer
Remarks
Any legal Variant type can be passed as a requested data type. The server responds with names
that are compatible with this data type (may be none). This property provides the mechanism such
that the client only gets the leafs that are of a certain DataType.
See Also
Appendix A - OPC Automation Error Handling
Appendix D- Notes On Automation Data Types
Example
VB Syntax Example (getting the property):
Dim TheDataType As Long
TheDataType = AnOPCServerBrowser.DataType
VB Syntax Example (setting the property):
Dim TheDataType As Long
AnOPCServerBrowser.DataType = vbInteger
Do'stlaringiz bilan baham: |