Click or drag to resize

PFRelation_ItemFileAdd Method

Create a new file instance. You need to add the file into corresponding file value and save item to complete the process. IMPORTANT : use of this method is obsolete, use of PFItem.AttachFile is advised.

Namespace:  Packflow.Core
Assembly:  MicaSystems.Packflow.Core (in MicaSystems.Packflow.Core.dll) Version: 1.0.0.0 (3.2.0.306)
Syntax
C#
public PFFile Add(
	PFField field,
	string name,
	byte[] content
)

Parameters

field
Type: Packflow.CorePFField
name
Type: SystemString
content
Type: SystemByte

Return Value

Type: PFFile
Non-yet-persisted file instance.
See Also