Deployment Tools Foundation
FromHandle Method (handle, ownsHandle)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► Record ► FromHandle(IntPtr, Boolean)
Creates a new Record object from an integer record handle.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static Record FromHandle( IntPtr handle, bool ownsHandle )
Public Shared Function FromHandle ( handle As IntPtr, ownsHandle As Boolean ) As Record
public: static Record^ FromHandle( IntPtr handle, bool ownsHandle )
Return Value
Remarks
This method is only provided for interop purposes. A Record object should normally be obtained by calling Fetch()()()() other methods.
The handle will be closed when this object is disposed or finalized.
Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.9.1006.0)