In The Hand - .NET Components for Mobility
ReleaseComObject Method (o)
NamespacesInTheHand.Runtime.InteropServicesMarshalHelperReleaseComObject(Object)
Decrements the reference count of the supplied runtime callable wrapper.
Declaration Syntax
C#Visual Basic
public static int ReleaseComObject(
	Object o
)
Public Shared Function ReleaseComObject ( _
	o As Object _
) As Integer
Parameters
o (Object)
The COM object to release.
Return Value
The new value of the reference count of the runtime callable wrapper associated with o. This value is typically zero since the runtime callable wrapper keeps just one reference to the wrapped COM object regardless of the number of managed clients calling it.

Assembly: InTheHand.WindowsMobile (Module: InTheHand.WindowsMobile) Version: 3.2.0.0