Add a simple value to the schema.

Namespace: TallComponents.PDF.Metadata
Assembly: TallComponents.PDF.Kit (in TallComponents.PDF.Kit.dll) Version: 3.0.69.1

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.

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