Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • greengiant83 88 posts 109 karma points
    Mar 17, 2011 @ 15:34
    greengiant83
    0

    Why is Document.Parent a CMSNode?

    Why is Document.Parent a CMSNode and not another Document?

  • Richard Soeteman 3875 posts 12037 karma points MVP
    Mar 17, 2011 @ 20:26
    Richard Soeteman
    0

    This is because the property belongs to the the CMSNode class. Document is derived from that class.

    Cheers,

    Richard

  • Daniel Bardi 924 posts 2556 karma points
    Mar 17, 2011 @ 20:30
    Daniel Bardi
    0

    All Documents are derived from CMSNode... You might be able to cast it to a Document:

    var parentDoc = (Document) doc.Parent
  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies