Can you clarify? In PI System Explorer, you can specifically choose which elements you wish to export by multi-selecting them in either the "Child Elements" tab - or - doing a search and multi-selecting them in the results grid. Right click on one of the selected elements, and export.
You cannot, however, choose to NOT export the child elements of any particular element you have selected in PSE. So, for example, it would not be possible to export a parent element and only some of it's children.
Within the AF SDK, this is possible by using the PIExportMode.NoReferences flag and passing a specific list of elements (the NoReferences would also cause no Analyses, Notifications or associated Templates to be exported)