Protocols/MSNP/Activities/SDK/Techref/Objectmodel/Objects/Fileinfo/Properties/Size: Difference between revisions
Jump to navigation
Jump to search
Animadoria (talk | contribs) (Created automatically by Anima Importer) |
Animadoria (talk | contribs) (Created automatically by Anima Importer) |
||
Line 1: | Line 1: | ||
<!-- Generated @ 08/12/2022 23: | <!-- Generated @ 08/12/2022 23:46:04 +01:00 using Anima's CHM converter based on techref/objectmodel/objects/fileinfo/properties/Size.htm --> | ||
{{Protocols/MSNP|section=Activities}} | {{Protocols/MSNP|section=Activities}} | ||
__NOTOC__= <a class="clsStd" href="../index.htm">FileInfo</a>.Size Property = | __NOTOC__= <a class="clsStd" href="../index.htm">FileInfo</a>.Size Property = |
Revision as of 22:46, 12 August 2022
<a class="clsStd" href="../index.htm">FileInfo</a>.Size Property
Returns a Long value representing the size of the file that is being transferred.
VBScript Syntax
external.Channel.FileInfo.Size
JavaScript Syntax
window.external.Channel.FileInfo.Size
Property Value
A Long value representing the size of the file being transferred. If no file is being transferred, the property has no value.
VBScript Example
To write the size of the file in bytes, write the value of Channel.FileInfo.Size.
Dim testFile Set myChannel = external.Channel testFile = myChannel.FileInfo document.write( "File size is " + testFile.Size )