public override bool UpdateDataSource(object data, out object retValue) { if (NestedContextItem != null) { return(NestedContextItem.UpdateDataSource(data, out retValue)); } else { retValue = null; return(false); } }
public override void RealDispose() { if (rangeName != null) { rangeName.Delete(); } if (NestedContextItem != null) { NestedContextItem.Dispose(); } ExcelApplication.ReleaseComObject(rangeName); ExcelApplication.ReleaseComObject(Range); rangeName = null; Range = null; }
public override object ResolveBinding() { return(NestedContextItem == null ? null : NestedContextItem.ResolveBinding()); }