Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Wiki Markup
{description}
{excerpt}Sets or returns a {{String}} that is the name of the author that created this file.{excerpt}
{signature:C#}
 public System.String Author{ get; set; }
{signature}{signature:vb.net}
Public Property Author() As String
{signature}
{remarks}MS Word equivalent: File menu > Properties > Summary tab > Author:

{remarks}
{example}{code:csharp|title=C#}

          //--- Return Author
          string author = docProps.Author;

          //--- Set Author
          docProps.Author = "John Doe";
        {code}
{code:vb.net|title=vb.net}

          '--- Return Author
          Dim author As String = docProps.Author

          '--- Set Author
          docProps.Author = "John Doe"
        {code}

{example}