Click or drag to resize
AttachmentInfoProviderSetAttachmentInfo Method

Note: This API is now obsolete.

Sets (updates or inserts) specified attachment.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use IAttachmentInfoProvider.Set(AttachmentInfo) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - AttachmentInfo.Provider.")]
public static void SetAttachmentInfo(
	AttachmentInfo attachment,
	bool resetSearchContent = true
)

Parameters

attachment
Type: CMS.DocumentEngineAttachmentInfo
Attachment to set
resetSearchContent (Optional)
Type: SystemBoolean
If true, the search content field is set to null to be forced to load again
See Also