DispIdAttribute(Int32) 构造函数

定义

用指定的 DISPID 初始化 DispIdAttribute 类的新实例。Initializes a new instance of the DispIdAttribute class with the specified DISPID.

public:
 DispIdAttribute(int dispId);
public DispIdAttribute (int dispId);
new System.Runtime.InteropServices.DispIdAttribute : int -> System.Runtime.InteropServices.DispIdAttribute
Public Sub New (dispId As Integer)

参数

dispId
Int32

成员的 DISPID。The DISPID for the member.

适用于