CustomDocumentPropertyCollectionAdd Method (String, String) |
Creates a new custom document property of the PropertyType.String data type.
Namespace:
Aspose.Cells.Properties
Assembly:
Aspose.Cells (in Aspose.Cells.dll) Version: 22.5.0.0 (22.5.0)
Syntaxpublic DocumentProperty Add(
string name,
string value
)
Public Function Add (
name As String,
value As String
) As DocumentProperty
public:
DocumentProperty^ Add(
String^ name,
String^ value
)
member Add :
name : string *
value : string -> DocumentProperty
Parameters
- name
- Type: SystemString
The name of the property. - value
- Type: SystemString
The value of the property.
Return Value
Type:
DocumentPropertyThe newly created property object.
See Also