Aspose::Cells::Properties::BuiltInDocumentPropertyCollection::Get method

BuiltInDocumentPropertyCollection::Get(const U16String&) method

Returns a DocumentProperty object by the name of the property.

DocumentProperty Aspose::Cells::Properties::BuiltInDocumentPropertyCollection::Get(const U16String &name)
ParameterTypeDescription
nameconst U16String&The case-insensitive name of the property to retrieve.

Remarks

Returns a DocumentProperty object.

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

BuiltInDocumentPropertyCollection::Get(const char16_t*) method

Returns a DocumentProperty object by the name of the property.

DocumentProperty Aspose::Cells::Properties::BuiltInDocumentPropertyCollection::Get(const char16_t *name)
ParameterTypeDescription
nameconst char16_t*The case-insensitive name of the property to retrieve.

Remarks

Returns a DocumentProperty object.

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

BuiltInDocumentPropertyCollection::Get(int32_t) method

Returns a DocumentProperty object by index.

DocumentProperty Aspose::Cells::Properties::BuiltInDocumentPropertyCollection::Get(int32_t index)
ParameterTypeDescription
indexint32_tZero-based index of the DocumentProperty to retrieve.

See Also