DISPPARAMS DISPPARAMS DISPPARAMS DISPPARAMS Struct

定义

包含由 IDispatch::Invoke 传递到方法或属性的参数。Contains the arguments passed to a method or property by IDispatch::Invoke.

public value class DISPPARAMS
public struct DISPPARAMS
type DISPPARAMS = struct
Public Structure DISPPARAMS
继承
DISPPARAMSDISPPARAMSDISPPARAMSDISPPARAMS

注解

有关其他信息DISPPARAMS,请参阅DISPPARMS 结构Windows API 文档中。For additional information about DISPPARAMS, see DISPPARMS structure in the Windows API documentation.

在本机代码中的 COM 方法将返回的 HRESULT 时,公共语言运行时将引发异常。The common language runtime throws an exception when a COM method in native code returns an HRESULT. 有关更多信息,请参见 How to: Map HRESULTs and ExceptionsFor more information, see How to: Map HRESULTs and Exceptions.

字段

cArgs cArgs cArgs cArgs

表示参数的计数。Represents the count of arguments.

cNamedArgs cNamedArgs cNamedArgs cNamedArgs

表示命名参数的计数。Represents the count of named arguments

rgdispidNamedArgs rgdispidNamedArgs rgdispidNamedArgs rgdispidNamedArgs

表示命名参数的调度 ID。Represents the dispatch IDs of named arguments.

rgvarg rgvarg rgvarg rgvarg

表示对参数数组的引用。Represents a reference to the array of arguments.

适用于