DispatchWrapper(Object) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the DispatchWrapper class with the object being wrapped.
public:
DispatchWrapper(System::Object ^ obj);
public DispatchWrapper (object obj);
public DispatchWrapper (object? obj);
new System.Runtime.InteropServices.DispatchWrapper : obj -> System.Runtime.InteropServices.DispatchWrapper
Public Sub New (obj As Object)
Parameters
- obj
- Object
The object to be wrapped and converted to VT_DISPATCH.
Exceptions
The obj
parameter was marked with a ComVisibleAttribute attribute that was passed a value of false
.
-or-
The obj
parameter inherits from a type marked with a ComVisibleAttribute attribute that was passed a value of false
.
Applies to
Vertu í samstarfi við okkur á GitHub
Heimildina fyrir þetta efni er að finna á GitHub, þar sem þú getur líka búið til og farið yfir vandamál og sameinað beiðnir. Frekari upplýsingar er að finna í framlagshandbók okkar.