AttachmentBinaryHelperGetAttachmentBinaryInternal Method (Guid, Int32, String, Boolean) |
Returns attachment binary and optionally store it in file system.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 12.0.0
Syntax protected virtual byte[] GetAttachmentBinaryInternal(
Guid guid,
int id,
string siteName,
bool storeInFileSystem
)
Parameters
- guid
- Type: SystemGuid
GUID of the attachment to get. - id
- Type: SystemInt32
ID of the attachment to get. - siteName
- Type: SystemString
Site name. - storeInFileSystem
- Type: SystemBoolean
If true, given attachment is stored in file system.
Return Value
Type:
ByteAttachment binary.
See Also