IContentStoreGetAttachment Method Ingeniux CMS Content Store API

Retrieves a binary attachment from the ContentStore.

Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 9.0.565.0 (9.0.565)
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

Reference