Click or drag to resize

IContentStoreGetAttachment Method


Retrieves a binary attachment from the ContentStore.

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.3.169
Syntax
IContentAttachment GetAttachment(
	string id
)

Parameters

id
Type: SystemString
Unique ID of the attachment binary to retrieve.

Return Value

Type: IContentAttachment
Retrieved attachment. Null if attachment doesn't exist.
Remarks
Binary attachments are not indexed in the ContentStore and don't require a session to retrieve.
See Also