Add a simple value to the schema.

Namespace: TallComponents.PDF.Layout.Metadata
Assembly: TallComponents.PDF.Layout (in TallComponents.PDF.Layout.dll) Version: 3.0.63.0

Syntax

C#
public void Add(
	string name,
	string value
)
Visual Basic
Public Sub Add ( _
	name As String, _
	value As String _
)

Parameters

name
Type: System..::..String
The name of this value.
value
Type: System..::..String
The value.

Remarks

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

The XMP metadata cannot be specified from XML.

Exceptions

ExceptionCondition
System..::..InvalidOperationExceptionThrown when this MetadataSchema has been removed from its MetadataSchemaCollection
System..::..ArgumentExceptionThrown when a value with the same name is already set.

See Also