CallType CallType CallType CallType Enum

定义

指示在调用 CallByName 函数时调用的过程类型。Indicates the type of procedure being invoked when calling the CallByName function.

public enum class CallType
public enum CallType
type CallType = 
Public Enum CallType
继承

字段

Get Get Get Get 2

正在检索属性值。A property value is being retrieved. 此成员等效于 Visual Basic 常量 vbGetThis member is equivalent to the Visual Basic constant vbGet.

Let Let Let Let 4

正在确定 Object 属性值。An Object property value is being determined. 此成员等效于 Visual Basic 常量 vbLetThis member is equivalent to the Visual Basic constant vbLet.

Method Method Method Method 1

正在调用方法。A method is being invoked. 此成员等效于 Visual Basic 常量 vbMethodThis member is equivalent to the Visual Basic constant vbMethod.

Set Set Set Set 8

正在确定属性值。A property value is being determined. 此成员等效于 Visual Basic 常量 vbSetThis member is equivalent to the Visual Basic constant vbSet.

注解

当您调用CallByName函数,可以使用以下CallType代替实际值在代码中的枚举成员。When you call the CallByName function, you can use the following CallType enumeration members in your code in place of the actual values. UseCallType参数采用CallType枚举成员。The UseCallType argument takes the CallType enumeration members.

适用于

另请参阅