![]() | RemDocumentGetRelations Method |
Namespace: Paperwork.Connect
public a_NavigationInfo GetRelations( ObjectID objectId )
public void GetRelations() { ObjectID oid = new ObjectID("FF00010000008526"); a_NavigationInfo retval = p.rDocument.GetRelations(oid); if (retval == null) Console.WriteLine("İlişkili olduğu bir belge bulunamadı."); foreach (ITypes item in retval.folderObjects) { item.Get("OBJECT_TYPE").ToString(); var rLocation = p.rNavigation.GetFolderFullPathByID(new ObjectID(item.Get("FOLDER_ID").ToString())); Console.WriteLine("Location: " + rLocation); Console.WriteLine("Object Name: " + item.Get("OBJECT_NAME").ToString()); Console.WriteLine("File Format: " + item.Get("FILE_FORMAT").ToString()); } Console.ReadLine(); }