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 any keywords that are added to this file.

Signature
C#
C#
 public System.String Keywords{ get; set; }
Signature
vb.net
vb.net
Public Property Keywords() As String
Remarks

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

Example
Code Block
csharp
csharp
titleC#

          //--- Return Keywords
          string keywords = docProps.Keywords;

          //--- Set Keywords
          docProps.Keywords = "Confidential, Memo";
        
Code Block
vb.net
vb.net
titlevb.net

          '--- Return Keywords
          Dim keywords As String = docProps.Keywords

          '--- Set Keywords
          docProps.Keywords = "Confidential, Memo"