public static void CheckInterface(object obj) { IObjectDesigner designer = obj as IObjectDesigner; Debug.WriteLineIf(designer != null, "Is IObjectDesigner");//* INSCallbackEnum callbackEnum = obj as INSCallbackEnum; Debug.WriteLineIf(callbackEnum != null, "Is INSCallbackEnum"); INSRec rec = obj as INSRec; Debug.WriteLineIf(rec != null, "Is INSRec"); INSAppBase appBase = obj as INSAppBase; Debug.WriteLineIf(appBase != null, "Is INSAppBase");//* INSApplication app = obj as INSApplication; Debug.WriteLineIf(app != null, "Is INSApplication");//* INSForm form = obj as INSForm; Debug.WriteLineIf(form != null, "Is INSForm"); INSHook hook = obj as INSHook; Debug.WriteLineIf(hook != null, "Is INSHook"); INSHyperlink hyper = obj as INSHyperlink; Debug.WriteLineIf(hyper != null, "Is INSHyperlink");//* INSMenuButton menub = obj as INSMenuButton; Debug.WriteLineIf(menub != null, "Is INSMenuButton"); INSTable table = obj as INSTable; Debug.WriteLineIf(table != null, "Is INSTable"); IConnectionPointContainer conn = obj as IConnectionPointContainer; Debug.WriteLineIf(conn != null, "Is IConnectionPointContainer"); }
/// <summary> /// Initializes a new instance of the Record class. /// </summary> /// <param name="record"></param> /// <param name="table"></param> internal Record(INSRec record, Table table) { _Record = record; _Table = table; }