XlsWorksheetCustomProperties
Add Method (String, String)
|
Adds a custom property to the XLS file with the specified name and value.
Namespace:
Spire.Xls.Core.Spreadsheet.Collections
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public XlsCustomProperty Add(
string name,
string value
)
Public Function Add (
name As String,
value As String
) As XlsCustomProperty
public:
virtual XlsCustomProperty^ Add(
String^ name,
String^ value
) sealed
abstract Add :
name : string *
value : string -> XlsCustomProperty
override Add :
name : string *
value : string -> XlsCustomProperty
Parameters
-
name
-
Type:
System
String
The name of the custom property.
-
value
-
Type:
System
String
The value of the custom property.
Return Value
Type:
XlsCustomProperty
The XlsCustomProperty object that was added.
Implements
ICustomPropertiesCollection
Add(String, String)
See Also