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 title of this file.



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

          //--- Return Title
          string title = docProps.Title;

          //--- Set Title
          docProps.Title = "Sample Word Document";
        
{code}
{code:vb.net
|title=vb.net
}

          '--- Return Author
          Dim title As String = docProps.Title

          '--- Set Author
          docProps.Title = "Sample Word Document"
        {code}

{example}
Signature
C#C#
Wiki Markup
{description}
{excerpt}Sets or returns a {{String}} that is the title of this file.{excerpt}
{signature:C#}
 public System.String Title{ get; set; }
Signature
{signature}{signature:vb.net
vb.net
}
Public Property Title() As String
Remarks
MS Word
{signature}
{remarks}MS Word equivalent: File menu > Properties > Summary tab > Title:
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle