resourceSize (property)
The size of the resource in bytes.
Syntax
- (long long)resourceSize:(int)resourceIndex;
public func resourceSize(resourceIndex: Int32) throws -> Int64
Default Value
0
Remarks
The size of the resource in bytes.
For file resources, this property holds the size of the file in bytes.
For folder resources, this property holds the total size (in bytes) of all of its children (recursively).
The ResourceIndex parameter specifies the index of the item in the array. The size of the array is controlled by the ResourceCount property.
This property is read-only.