Page tree

Versions Compared

Key

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

Description

Excerpt

Returns a DateTime object representing the date this document was created.

Signature
C#
C#
<table class="diff-macro"><thead><tr><th class="diff-macro-title">unmigrated-wiki-markup</th></tr></thead><tbody><tr><td class="diff-macro-body"><pre>
 public System.DateTime DateCreated{ get; }
</pre></td></tr></tbody></table>
Signature
vb.net
vb.net
Public <p>Public ReadOnly Property DateCreated() As Date</p>Date
Remarks

MS Word equivalent: File menu > Properties > Statistics tab > Created:

Example
Code Block
csharp
csharp
titleC#
            DateTime oDateTime = oDocument.DateCreated;
        
Code Block
vb.net
vb.net
titlevb.net
            Dim oDateTime As DateTime = oDocument.DateCreated