CustomDocumentPropertyCollection.Add
Contents
[
Hide
]Add(string, string)
Creates a new custom document property of the PropertyType.String data type.
public DocumentProperty Add(string name, string value)
Parameter | Type | Description |
---|---|---|
name | String | The name of the property. |
value | String | The value of the property. |
Return Value
The newly created property object.
See Also
- class DocumentProperty
- class CustomDocumentPropertyCollection
- namespace Aspose.Cells.Properties
- assembly Aspose.Cells
Add(string, int)
Creates a new custom document property of the PropertyType.Number data type.
public DocumentProperty Add(string name, int value)
Parameter | Type | Description |
---|---|---|
name | String | The name of the property. |
value | Int32 | The value of the property. |
Return Value
The newly created property object.
See Also
- class DocumentProperty
- class CustomDocumentPropertyCollection
- namespace Aspose.Cells.Properties
- assembly Aspose.Cells
Add(string, DateTime)
Creates a new custom document property of the PropertyType.DateTime data type.
public DocumentProperty Add(string name, DateTime value)
Parameter | Type | Description |
---|---|---|
name | String | The name of the property. |
value | DateTime | The value of the property. |
Return Value
The newly created property object.
See Also
- class DocumentProperty
- class CustomDocumentPropertyCollection
- namespace Aspose.Cells.Properties
- assembly Aspose.Cells
Add(string, bool)
Creates a new custom document property of the PropertyType.Boolean data type.
public DocumentProperty Add(string name, bool value)
Parameter | Type | Description |
---|---|---|
name | String | The name of the property. |
value | Boolean | The value of the property. |
Return Value
The newly created property object.
See Also
- class DocumentProperty
- class CustomDocumentPropertyCollection
- namespace Aspose.Cells.Properties
- assembly Aspose.Cells
Add(string, double)
Creates a new custom document property of the PropertyType.Float data type.
public DocumentProperty Add(string name, double value)
Parameter | Type | Description |
---|---|---|
name | String | The name of the property. |
value | Double | The value of the property. |
Return Value
The newly created property object.
See Also
- class DocumentProperty
- class CustomDocumentPropertyCollection
- namespace Aspose.Cells.Properties
- assembly Aspose.Cells