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 represents any keywords that are added to this file.{excerpt}
{signature:C#}
 public System.String Keywords{ get; set; }
{signature}{signature:vb.net}
Public Property Keywords() As String
{signature}
{remarks}MS Word equivalent: File menu > Properties > Summary tab > Keywords:

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

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

          //--- Set Keywords
          docProps.Keywords = "Confidential, Memo";
        {code}
{code:vb.net|title=vb.net}

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

          '--- Set Keywords
          docProps.Keywords = "Confidential, Memo"
        {code}

{example}