Public Function CallByName(ByVal ObjectRef As Object, ByVal ProcName As String, ByVal UseCallType As Microsoft.VisualBasic.CallType, ByVal ParamArray Args() As Object) As Object
Member of: Microsoft.VisualBasic.Interaction
Summary:
Executes a method on an object, or sets or returns a property on an object.
Parameters:
ProcName: Required. String. A string expression containing the name of the property or method on the object.
UseCallType: Required. An enumeration member of type CallType Enumeration representing the type of procedure being called. The value of CallType can be Method, Get, or Set.
ObjectRef: Required. Object. A pointer to the object exposing the property or method.
Args: Optional. ParamArray. A parameter array containing the arguments to be passed to the property or method being called.
Return Values:
Executes a method on an object, or sets or returns a property on an object.
|