Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ FinalReleaseComObject()

static int System.Runtime.InteropServices.Marshal.FinalReleaseComObject ( object o)
inlinestatic

Definition at line 384 of file Marshal.cs.

385 {
387 {
388 throw new NotSupportedException(SR.NotSupported_COM);
389 }
390 if (o == null)
391 {
392 throw new ArgumentNullException("o");
393 }
394 if (!(o is __ComObject _ComObject))
395 {
396 throw new ArgumentException(SR.Argument_ObjNotComObject, "o");
397 }
398 _ComObject.FinalReleaseSelf();
399 return 0;
400 }

References System.SR.Argument_ObjNotComObject, System.Runtime.InteropServices.Marshal.IsBuiltInComSupported, and System.SR.NotSupported_COM.