CollectionItem

CollectionItem

Overview

CollectionItem is a class in Aspose.PDF FOSS for .NET.

Per-file metadata entries declared by a portfolio /Collection’s schema, exposed as a typed dictionary on CollectionItem.

This class provides 5 methods for working with CollectionItem objects in .NET programs. Available methods include: HasName, TryGetDateTimeValue, TryGetDoubleValue, TryGetIntValue, TryGetTextValue. All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package. Properties: AllNames, IsEmpty.

Properties

NameTypeAccessDescription
IsEmptyboolReadWhether the item carries no schema entries.
AllNamesICollection<string>ReadAll schema-entry names declared on this item.

Methods

SignatureDescription
HasName(name: string)True when name is declared on the item.
TryGetTextValue(name: string, value: Value<string>)Read a string-typed schema entry.
TryGetIntValue(name: string, value: Value<int>)Read an int-typed schema entry.
TryGetDoubleValue(name: string, value: Value<double>)Read a double-typed schema entry.
TryGetDateTimeValue(name: string, value: Value<System.DateTime>)Read a DateTime-typed schema entry.

See Also