Message 1 of 9
reload keynote file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I want to write a command that simply reloads the keynote file. So far I've got the path to the file. The next step is to use KeynoteEntries.LoadKeynoteEntriesFromFile() which sounds simple because I thought I'd only need to enter the path, but for some reason it wants another parameter... KeyBasedTreeEntriesLoadContent which I can't wrap my head around.
This is the contents of the remarks and the constructor for that Class. Can someone tell me (hopefully with examples), how this thing is supposed to be used?
// Remarks:
// The class contains a KeyBasedTreeEntries object which should hold the KeyBasedTreeEntries
// data generated by the IExternalResourceServer. An ExternalResourceServer can
// create the KeyBasedTreeEntries from an arbitrary data source by using AddEntry
// to add individual KeyBasedTreeEntries. Once all the desired entries have been
// added, BuildEntries can be called to construct the KeyBasedTreeEntries object
// from the individual entries that were added. KeyBasedTreeEntriesLoadContent must
// have a built KeyBasedTreeEntries before its LoadStatus property can be set to
// ExternalResourceLoadStatus.Success.
public class KeyBasedTreeEntriesLoadContent : ExternalResourceLoadContent
{
internal KeyBasedTreeEntriesLoadContent(object proxy)
: base((proxy is KeyBasedTreeEntriesLoadContentProxy) ? proxy : null)
{
}