I have two properties in my VB6 code:

Code:
Public Property Get PropFileID() As Long
    PropFileID = m_FileID
End Property
Code:
Public Property Get PropFileIDArray() As Long()
    PropFileIDArray = m_FileIDArray
End Property
While debugging, I can see the first property (PropFileID) being assigned a value without error. m_FileID has a value, and after passing through the Get accessor, PropFileID gets the same value.

While debugging the second property (PropFileIDArray), I can see that m_FileIDArray has a valid array value. However, after passing through the Get accessor, PropFileIDArray remains empty.

Am I making some kind of error in the syntax?

Any suggestions would be greatly appreciated