PDFKit.NET 2.0 Class Library (.NET 2.0)

MetadataSchema.Add Method 

Add a simple value to the schema.

public void Add(
   string name,
   string value
);

Parameters

name
The name of this value.
value
The value.

Remarks

Currently only simple values are supported for XMP schemas. Collections such as Bag, Alt and Seq are not supported.

Exceptions

Exception Type Condition
InvalidOperationException Thrown when this MetadataSchema has been removed from its MetadataSchemaCollection
ArgumentException Thrown when a value with the same name is already set.

See Also

MetadataSchema Class | TallComponents.PDF.Metadata Namespace