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的詳細資訊, 請參閱 Windows API 檔中的DISPPARMS 結構For additional information about DISPPARAMS, see DISPPARMS structure in the Windows API documentation.

當原生程式碼中的 COM 方法傳回 HRESULT 時, common language runtime 會擲回例外狀況。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.

適用於