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

...

Description

Excerpt

Sets or returns a String that represents the subject of this file.

Signature
C#
C#
 public System.String Subject{ get; set; }
{signature}{signature:
}
Signature
vb.net
vb.net
Public Property Subject() As String
{signature}
{remarks}MS Word 
Remarks

MS Word equivalent:

File

menu

>

Properties

>

Summary

tab

>

Subject:

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

Example
Code Block
csharp
csharp
titleC#


          //--- Return Subject
          string subject = docProps.Subject;

          //--- Set Subject
          docProps.Subject = "Annual Meeting";
        
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}


          '--- Return Subject
          Dim subject As String = docProps.Subject

          '--- Set Subject
          docProps.Subject = "Annual Meeting"
        
{code} {example}