SetCustomPropertyValue Method

Office Open XML

Allows you to set the value of a current custom property or create your own custom property.

Namespace:  OfficeOpenXml
Assembly:  EPPlus (in EPPlus.dll) Version: 3.0.0.1 (3.0.0.1)

Syntax

C#
public void SetCustomPropertyValue(
	string propertyName,
	Object value
)
Visual Basic (Declaration)
Public Sub SetCustomPropertyValue ( _
	propertyName As String, _
	value As Object _
)
Visual C++
public:
void SetCustomPropertyValue(
	String^ propertyName, 
	Object^ value
)

Parameters

propertyName
Type: System..::.String
The name of the property
value
Type: System..::.Object
The value of the property

See Also