Manages the lifetime of any COM object. The method will deterministically release the object during the dispose process.
Syntax
Visual Basic (Declaration) | |
---|
Public Sub ManageLifetime( _
ByVal o As Object _
) |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As ComReleaser
Dim o As Object
instance.ManageLifetime(o) |
C# | |
---|
public void ManageLifetime(
object o
) |
Parameters
- o
- The COM object to manage.
Remarks
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also