Page tree

Versions Compared

Key

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

Description

Excerpt

Returns a DocumentProperties object that represents properties of the specified workbook, such as name, author, and summary. In Microsoft Excel, these properties are displayed in the file's Properties sheet. To view the Properties sheet in Excel, open Excel's File menu, and select Properties.

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 DocumentProperties DocumentProperties{ get; }
</pre></td></tr></tbody></table>
Signature
vb.net
vb.net

<p>Public ReadOnly Property DocumentProperties() As DocumentProperties</p>
Example
 
Code Block
csharp
csharp
titleC#
            DocumentProperties docProps =
               wb.DocumentProperties;
        
Code Block
vb.net
vb.net
titlevb.net
            Dim docProps As DocumentProperties = _
               wb.DocumentProperties
        
Example