ISDBSongData::FileLength

From MediaMonkey Wiki
Jump to: navigation, search

CoClass SDBSongData, Interface ISDBSongData

Property Get/Let FileLength As Long


Property description

FileLength
Scripting Object SDBSongData
Value Name FileLength
Value Type Value
Database Table Songs
Field Name FileLength
Field Type Integer
Tracklist Column File Size
Example Data 4388864 (4.2MB)

Example Code

Complete script

Sub

  For iCounter = 0 to objSongList.count - 1                                    'SongLists
      Set objSongData = objSongList.Item(iCounter)
      ValueFileLength = objSongData.FileLength
      SDB.MessageBox "Value = '" &  ValueFileLength & "'", mtError, Array(mbOK)    'SDB.MessageBox
  Next
' objSongData.FileLength = ValueNewFileLength 'Commented Out For Safety
' objSonglist.UpdateAll              'Commented Out For Safety                 'UpdateAll
                         Updates db and writes tags (if checked in options)
End Sub