Sets the value of the specified property.

 public void SetProperty(BuiltInProperty property, System.Object propertyValue)
Public Sub SetProperty(ByVal [property] As BuiltInProperty, ByVal propertyValue As Object)

A DocumentProperties.BuiltInProperty object that represents the built-in property to set.

An Object that represents the value of the property specified.

MS Word equivalent: File menu > Properties > Custom tab > Properties:


          //--- Set "Author" Property
          docProps.SetProperty(DocumentProperties.BuiltInProperty.Author, "Fred Jones");
        

          '--- Set "Priority" Property
          docProps.SetProperty(DocumentProperties.BuiltInProperty.Author, "Fred Jones")