![]() | RemLookupGetMailBodyTemplates Method |
Namespace: Paperwork.Connect
public ObservableCollection<LookupItem> GetMailBodyTemplates( string templateName = "", ObjectID objectId = null )
public void GetMailAccounts() { //templateName ve objcetId boş girilirse tüm şablonlar listelenir. //ObjectID objectId = new ObjectID("sadas"); //string oid = objectId.ToString(); //string templateName = ""; ObservableCollection<LookupItem> bodyTemplates = p.rLookup.GetMailBodyTemplates(); foreach (LookupItem bodyTemplate in bodyTemplates) Console.WriteLine("Icon Index: {0}, Name: {1}, Object ID: {2}", bodyTemplate.IconIndex, bodyTemplate.Name, bodyTemplate.ObjectId); Console.ReadLine(); }