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 4047 posts 12900 karma points MVP 2x
    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 927 posts 2562 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
Please Sign in or register to post replies

Write your reply to:

Draft