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
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.