2020-10-08から1日間の記事一覧
public void ReleaseCOMObject(object obj){ if (obj != null) { if (obj.GetType().IsCOMObject) { System.Runtime.InteropServices.Marshal.ReleaseComObject(obj); } }}
public void ReleaseCOMObject(object obj){ if (obj != null) { if (obj.GetType().IsCOMObject) { System.Runtime.InteropServices.Marshal.ReleaseComObject(obj); } }}