Pages _pages = new Pages(selectedProject);
var languageVariant = selectedProject.LanguageVariants.Current;
var getPage = _pages.GetByGuid(pageGuid, languageVariant);
var mainLink = (ILinkElement)getPage.GetType().GetProperty("MainLinkNavigationElement").GetValue(getPage, null);
I don’t think there is a build in way to do what you want in the current SmartAPI, sorry.
I’ll have to check the RQL statements, if it would be possible to get that info. Not sure when I’ll find the time to do that atm though :/.
--
More information about SmartAPI: http://www.smartapi.de
---
Sie erhalten diese Nachricht, weil Sie in Google Groups E-Mails von der Gruppe "SmartAPI" abonniert haben.
Wenn Sie sich von dieser Gruppe abmelden und keine E-Mails mehr von dieser Gruppe erhalten möchten, senden Sie eine E-Mail an
smartapi+u...@googlegroups.com.
Wenn Sie in dieser Gruppe einen Beitrag posten möchten, senden Sie eine E-Mail an
smar...@googlegroups.com.
Weitere Optionen finden Sie unter https://groups.google.com/d/optout.