Copied to clipboard

Flag this post as spam?

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


  • Kevin Walker 66 posts 87 karma points
    Mar 14, 2013 @ 21:04
    Kevin Walker
    0

    Getting values for Publish At / Remove At fields using C#

    Am I correct in thinking you can only access the 'Publish At' and 'Remove At' properties using the Document object - as shown below - rather than via the Node object like any other property of a node, if so why is this and does it involve a DB hit to get it? 

    e.g.

     var doc = new Document(id);

    ReleaseDate = doc.ReleaseDate;

     

  • Charles Afford 1163 posts 1709 karma points
    Mar 14, 2013 @ 21:56
    Charles Afford
    0

    Not sure what you are asking here, but can you not just do var releaseDate = new Document(id).ReleaseDate();

Please Sign in or register to post replies

Write your reply to:

Draft