Page tree

Versions Compared

Key

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

Description

Excerpt

Sets or returns a String that represents the name of the manager in charge of this file.

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.String Manager{ get; set; }
</pre></td></tr></tbody></table>
Signature
vb.net
vb.net
Public <p>Public Property Manager() As String</p>String
Remarks

MS Word equivalent: File menu > Properties > Summary tab > Manager:

Example
Code Block
csharp
csharp
titleC#
            //--- Return Manager
          string manager = docProps.Manager;

          //--- Set Manager
          docProps.Manager = "John Doe";
        
Code Block
vb.net
vb.net
titlevb.net
            '--- Return Manager
          Dim manager As String = docProps.Manager

          '--- Set Manager
          docProps.Manager = "John Doe"