Description
Sets the value of the specified property.
C#
public void SetProperty(System.String propertyName, System.Object propertyValue)
vb.net
Public Sub SetProperty(ByVal propertyName As String, ByVal propertyValue As Object)
Parameters
propertyName
AString representing the name of the property to set.
propertyValue
AnObject that represents the value of the property specified.
Remarks
MS Word equivalent: File menu > Properties > Custom tab > Properties:Examples
C#
//--- Set "Priority" Property
docProps.SetProperty("Priority", "high");
vb.net
'--- Set "Priority" Property
docProps.SetProperty("Priority", "high")
