Click or drag to resize

OpenXmlExtensionAddOrUpdateCustomDocumentProperty Method

Namespace:  FileHold.DocumentRepository.Extensions
Assembly:  FileHold.DocumentRepository (in FileHold.DocumentRepository.dll) Version: 17.0.0.0
Syntax
C#
public static CustomDocumentProperty AddOrUpdateCustomDocumentProperty(
	this CustomFilePropertiesPart part,
	string name,
	Object value,
	bool save = false
)

Parameters

part
Type: CustomFilePropertiesPart
name
Type: SystemString
value
Type: SystemObject
save (Optional)
Type: SystemBoolean

Return Value

Type: CustomDocumentProperty

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type CustomFilePropertiesPart. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also