AttachmentInfoProviderGetAttachmentBinaryInternal Method |
Returns attachment binary and optionally store it in file system.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 9.0.0
Syntaxprotected 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