Click or drag to resize
AttachmentInfoProviderGetAttachmentInfo Method (Int32, String, Boolean)
Gets the attachment by the document ID and file name.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax
C#
public static AttachmentInfo GetAttachmentInfo(
	int documentId,
	string fileName,
	bool getBinary
)

Parameters

documentId
Type: SystemInt32
Document ID
fileName
Type: SystemString
File name
getBinary
Type: SystemBoolean
Get the binary data?

Return Value

Type: AttachmentInfo
See Also