fileDataSource (property)
The type of the data source for this entry.
Syntax
- (int)fileDataSource:(int)fileIndex; - (void)setFileDataSource:(int)fileIndex:(int)newFileDataSource;
/* Possible Values */
FDS_FILE(0),
FDS_STREAM(1),
FDS_BUFFER(2)
public func fileDataSource(fileIndex: Int32) throws -> ArchivewriterFileDataSources
public func setFileDataSource(fileIndex: Int32, newFileDataSource: ArchivewriterFileDataSources) throws -> Void
public enum ArchivewriterFileDataSources : Int32 { case fdsFile = 0 case fdsStream = 1 case fdsBuffer = 2 }
Default Value
0
Remarks
The type of the data source for this entry.
Use this property to control the data source for this entry.
fdsFile (0) | The data for this entry should be taken from the file provided via FileLocalPath. |
fdsStream (1) | The data is going to be provided on-the-fly via the FileStream property. |
fdsBuffer (2) | The data is going to be provided on-the-fly via the FileData property. |
The FileIndex parameter specifies the index of the item in the array. The size of the array is controlled by the FileCount property.