Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Excerpt

Sets or returns the presentation's creation date. By default, CreationDate returns the presentation's actual creation date. You can set CreationDate to a different date, but this will not change the creation date displayed in the presentation's Properties sheet.

Signature
C#
C#
<p> public System.DateTime CreationDate{ get; set; }</p>
Signature
vb.net
vb.net
<p>PublicPublic Property CreationDate() As Date</p>Date
Example
 
Code Block
csharp
csharp
titleC#
          //--- Get CreationDate
          DateTime createDate = docProps.CreationDate;

          //--- Set CreationDate
          docProps.CreationDate = new DateTime(2005, 08, 04);
        
Code Block
vbnet
vbnet
titlevb.net
          '--- Get CreationDate
          Dim createDate As DateTime = docProps.CreationDate

          '--- Set CreationDate
          docProps.CreationDate = New DateTime(2005, 08, 04)
        
Example