Optional parameters are denoted by the keyword “Optional”. Optional parameters may be omitted from a method call if
the default behavior is acceptable. OLE Automation requires that optional parameters be Dim’d as Variant, though they
Method parameters are assumed to be passed ByVal unless specified to be ByRef. ByRef parameters get filled in by the
VB uses the OPC Automation Type Library to define the following interfaces. Make sure that (in Visual Basic 5.0)
OPC Data Access Automation Specification2.02
Do'stlaringiz bilan baham: