COMFieldInfo.Initialize(String, COMMemberInfo) 方法

定义

初始化使 JScript 能够与此外部 COM 字段通信的信息。Initializes the information that enables JScript to communicate with this external COM field.

此 API 支持产品基础结构,不能在代码中直接使用。

public:
 virtual void Initialize(System::String ^ name, Microsoft::JScript::COMMemberInfo ^ dispatch);
public virtual void Initialize (string name, Microsoft.JScript.COMMemberInfo dispatch);
abstract member Initialize : string * Microsoft.JScript.COMMemberInfo -> unit
override this.Initialize : string * Microsoft.JScript.COMMemberInfo -> unit
Public Overridable Sub Initialize (name As String, dispatch As COMMemberInfo)

参数

name
String

此对象表示的外部 COM 字段的名称。The name of the external COM field that this object represents.

dispatch
COMMemberInfo

使 JScript 能够访问外部 COM 字段的信息。Information that enables JScript to access the external COM field.

实现

适用于

另请参阅