Click or drag to resize

PFApplicationServicePackflowApplicationTypeAttachFilePocoItemType Method (String, Int64, String, String, Byte)

Attach a new file in an item field and saves the item.

Namespace:  Packflow.Interface.Services
Assembly:  MicaSystems.Packflow.Interface (in MicaSystems.Packflow.Interface.dll) Version: 1.0.0.0 (2.0.0.223)
Syntax
C#
protected PocoItemType AttachFile<PocoItemType>(
	string contentTypeName,
	long itemId,
	string fieldName,
	string fileName,
	byte[] fileContent
)
where PocoItemType : PFItem

Parameters

contentTypeName
Type: SystemString
itemId
Type: SystemInt64
fieldName
Type: SystemString
fileName
Type: SystemString
fileContent
Type: SystemByte

Type Parameters

PocoItemType

Return Value

Type: PocoItemType
See Also