Creates new XMP property and adds it to the end of this XmpPropertyList.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public XmpProperty Add(
	string name,
	string value
)
VB
Public Function Add ( 
	name As String,
	value As String
) As XmpProperty

Parameters

name
Type: System.String
The name of the property.
value
Type: System.String
The value of the property.

Return Value

Type: XmpProperty
The newly created XMP property.

Remarks

The value of the property specified by value can be null.

Collection should not contain duplicate properties, so the ArgumentException will be thrown if this XmpPropertyList already contains property with specified name.

See Also