Performs a safe release operation on the given instance.
The equivalent code is:
if (instance != null) instance.Release();
- instance (Id)
- The instance.
In Visual Basic and C#, you can call this method as an instance method on any object of type Id. When you use instance method syntax to call this method, omit the first parameter.
Assembly: Monobjc (Module: Monobjc)
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)