CallType 枚举

定义

指示在调用 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
继承
CallType

字段

Get 2

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

Let 4

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

Method 1

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

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.

适用于

另请参阅