HandleRef(Object, IntPtr) 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 HandleRef class with the object to wrap and a handle to the resource used by unmanaged code.
public:
HandleRef(System::Object ^ wrapper, IntPtr handle);
public HandleRef (object? wrapper, IntPtr handle);
public HandleRef (object wrapper, IntPtr handle);
new System.Runtime.InteropServices.HandleRef : obj * nativeint -> System.Runtime.InteropServices.HandleRef
Public Sub New (wrapper As Object, handle As IntPtr)
Parameters
- wrapper
- Object
A managed object that should not be finalized until the platform invoke call returns.
Applies to
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.