I find this c# and I want to translate it into vb.net code but I could. I found inside msdn it says it is an OnesComplement. I post the code in c# and if any one know hor to convert this to vb.net code please help me.

~TwCapability()
{
if( Handle != IntPtr.Zero )
Twain.GlobalFree( Handle );
}

Thanks