Class FileSpecification
FileSpecification class
Class representing embedded file.
public sealed class FileSpecification : IDisposable
Constructors
Properties
Name | Description |
---|
AFRelationship { get; set; } | Associated file Relationship. |
CollectionItem { get; } | Gets a collection item of the file specification. |
Contents { get; set; } | Gets or sets contents file. This property returns data loaded in memory which may cause Out of memory exception for large data. To decrease memory usage please use StreamContents. |
Description { get; set; } | Gets or sets text associated with the file specification. |
Encoding { get; set; } | Gets or sets encoding format. Possible values: Zip - file is compressed with ZIP, None - file is not compressed. |
EncryptedPayload { get; } | Gets encrypted payload. |
FileSystem { get; set; } | Gets or sets name of the file system. |
IncludeContents { get; set; } | If true, contents of the file will be included in the file specification. |
MIMEType { get; set; } | Gets subtype of the embedded file |
Name { get; set; } | Gets or sets file specification name. |
Params { get; set; } | Gets file paramteres. |
StreamContents { get; } | Gets contents of file as stream. Contents is not loaded into memory which allows to decrease memory usage. But this stream does not support positioning and Length property. If you need this features please use Contents property instead. |
UnicodeName { get; set; } | Gets or sets file specification unicode name. |
Methods
Name | Description |
---|
Dispose() | Dispose contents. |
GetValue(string) | Gets application-specific parameter. |
SetValue(string, string) | Sets application-specific parameter. |
See Also