Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Description

Excerpt

Sets or returns a String that is the name of the author that created this file.



{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}
Signature
C#C#
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}{signature:vb.net
vb.net
}
Public Property Author() As String
Remarks
MS Word
{signature}
{remarks}MS Word equivalent: File menu > Properties > Summary tab > Author:
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle