Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DISPPARAMS Structure

DISPPARAMS Structure

Contains the arguments passed to a method or property by IDispatch::Invoke.

Namespace:  System.Runtime.InteropServices.ComTypes
Assemblies:   mscorlib (in mscorlib.dll)
  System.Runtime.InteropServices (in System.Runtime.InteropServices.dll)

public struct DISPPARAMS

The DISPPARAMS type exposes the following members.

  NameDescription
Public methodSupported by Portable Class LibraryEqualsIndicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Public methodSupported by Portable Class LibraryGetHashCodeReturns the hash code for this instance. (Inherited from ValueType.)
Public methodSupported by Portable Class LibraryGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodSupported by Portable Class LibraryToStringReturns the fully qualified type name of this instance. (Inherited from ValueType.)
Top

  NameDescription
Public fieldSupported by Portable Class LibrarycArgsRepresents the count of arguments.
Public fieldSupported by Portable Class LibrarycNamedArgsRepresents the count of named arguments
Public fieldSupported by Portable Class LibraryrgdispidNamedArgsRepresents the dispatch IDs of named arguments.
Public fieldSupported by Portable Class LibraryrgvargRepresents a reference to the array of arguments.
Top

For additional information about DISPPARAMS, see the MSDN Library.

The common language runtime throws an exception when a COM method in native code returns an HRESULT. For more information, see How to: Map HRESULTs and Exceptions.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

.NET for Windows Phone apps

Supported in: Windows Phone 8.1

Portable Class Library

Supported in: Portable Class Library

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2015 Microsoft