示例#1
0
 public WORCExcel_ContactsRecord(STExcel_ContactsStructure r)
 {
     varWSName     = BaseAppUtils.RemoveControlChars(r.ssName);
     varWSJobTitle = BaseAppUtils.RemoveControlChars(r.ssJobTitle);
     varWSPhone    = BaseAppUtils.RemoveControlChars(r.ssPhone);
     varWSEmail    = BaseAppUtils.RemoveControlChars(r.ssEmail);
 }
示例#2
0
        public RCExcel_ContactsRecord(SerializationInfo info, StreamingContext context)
        {
            OptimizedAttributes = null;
            ssSTExcel_Contacts  = new STExcel_ContactsStructure(null);
            Type      objInfo   = this.GetType();
            FieldInfo fieldInfo = null;

            fieldInfo = objInfo.GetField("ssSTExcel_Contacts", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.Public);
            if (fieldInfo == null)
            {
                throw new Exception("The field named 'ssSTExcel_Contacts' was not found.");
            }
            if (fieldInfo.FieldType.IsSerializable)
            {
                ssSTExcel_Contacts = (STExcel_ContactsStructure)info.GetValue(fieldInfo.Name, fieldInfo.FieldType);
            }
        }
示例#3
0
 public RCExcel_ContactsRecord(params string[] dummy)
 {
     OptimizedAttributes = null;
     ssSTExcel_Contacts  = new STExcel_ContactsStructure(null);
 }