BuiltInDocumentPropertyCollectionItem Property (String)

Returns a DocumentProperty object by the name of the property.

Namespace:  Aspose.Cells.Properties
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 20.9.0.0 (20.9)
Syntax
public override DocumentProperty this[
	string name
] { get; }

Parameters

name
Type: SystemString
The case-insensitive name of the property to retrieve.

Property Value

Type: DocumentProperty
Remarks

The string names of the properties correspond to the names of the typed properties available from BuiltInDocumentPropertyCollection.

If you request a property that is not present in the document, but the name of the property is recognized as a valid built-in name, a new DocumentProperty is created, added to the collection and returned. The newly created property is assigned a default value (empty string, zero, false or DateTime.MinValue depending on the type of the built-in property).

If you request a property that is not present in the document and the name is not recognized as a built-in name, a null is returned.

See Also