Aspose::Cells::Properties::CustomDocumentPropertyCollection::Add method

CustomDocumentPropertyCollection::Add(const U16String&, const U16String&) method

Creates a new custom document property of the PropertyType.String data type.

DocumentProperty Aspose::Cells::Properties::CustomDocumentPropertyCollection::Add(const U16String &name, const U16String &value)
ParameterTypeDescription
nameconst U16String&The name of the property.
valueconst U16String&The value of the property.

ReturnValue

The newly created property object.

Remarks

Creates a new custom document property.

See Also

CustomDocumentPropertyCollection::Add(const char16_t*, const char16_t*) method

Creates a new custom document property of the PropertyType.String data type.

DocumentProperty Aspose::Cells::Properties::CustomDocumentPropertyCollection::Add(const char16_t *name, const char16_t *value)
ParameterTypeDescription
nameconst char16_t*The name of the property.
valueconst char16_t*The value of the property.

ReturnValue

The newly created property object.

Remarks

Creates a new custom document property.

See Also

CustomDocumentPropertyCollection::Add(const U16String&, int32_t) method

Creates a new custom document property of the PropertyType.Number data type.

DocumentProperty Aspose::Cells::Properties::CustomDocumentPropertyCollection::Add(const U16String &name, int32_t value)
ParameterTypeDescription
nameconst U16String&The name of the property.
valueint32_tThe value of the property.

ReturnValue

The newly created property object.

See Also

CustomDocumentPropertyCollection::Add(const char16_t*, int32_t) method

Creates a new custom document property of the PropertyType.Number data type.

DocumentProperty Aspose::Cells::Properties::CustomDocumentPropertyCollection::Add(const char16_t *name, int32_t value)
ParameterTypeDescription
nameconst char16_t*The name of the property.
valueint32_tThe value of the property.

ReturnValue

The newly created property object.

See Also

CustomDocumentPropertyCollection::Add(const U16String&, const Date&) method

Creates a new custom document property of the PropertyType.DateTime data type.

DocumentProperty Aspose::Cells::Properties::CustomDocumentPropertyCollection::Add(const U16String &name, const Date &value)
ParameterTypeDescription
nameconst U16String&The name of the property.
valueconst Date&The value of the property.

ReturnValue

The newly created property object.

See Also

CustomDocumentPropertyCollection::Add(const char16_t*, const Date&) method

Creates a new custom document property of the PropertyType.DateTime data type.

DocumentProperty Aspose::Cells::Properties::CustomDocumentPropertyCollection::Add(const char16_t *name, const Date &value)
ParameterTypeDescription
nameconst char16_t*The name of the property.
valueconst Date&The value of the property.

ReturnValue

The newly created property object.

See Also

CustomDocumentPropertyCollection::Add(const U16String&, bool) method

Creates a new custom document property of the PropertyType.Boolean data type.

DocumentProperty Aspose::Cells::Properties::CustomDocumentPropertyCollection::Add(const U16String &name, bool value)
ParameterTypeDescription
nameconst U16String&The name of the property.
valueboolThe value of the property.

ReturnValue

The newly created property object.

See Also

CustomDocumentPropertyCollection::Add(const char16_t*, bool) method

Creates a new custom document property of the PropertyType.Boolean data type.

DocumentProperty Aspose::Cells::Properties::CustomDocumentPropertyCollection::Add(const char16_t *name, bool value)
ParameterTypeDescription
nameconst char16_t*The name of the property.
valueboolThe value of the property.

ReturnValue

The newly created property object.

See Also

CustomDocumentPropertyCollection::Add(const U16String&, double) method

Creates a new custom document property of the PropertyType.Float data type.

DocumentProperty Aspose::Cells::Properties::CustomDocumentPropertyCollection::Add(const U16String &name, double value)
ParameterTypeDescription
nameconst U16String&The name of the property.
valuedoubleThe value of the property.

ReturnValue

The newly created property object.

See Also

CustomDocumentPropertyCollection::Add(const char16_t*, double) method

Creates a new custom document property of the PropertyType.Float data type.

DocumentProperty Aspose::Cells::Properties::CustomDocumentPropertyCollection::Add(const char16_t *name, double value)
ParameterTypeDescription
nameconst char16_t*The name of the property.
valuedoubleThe value of the property.

ReturnValue

The newly created property object.

See Also