當我嘗試構建我的解決方案時出現奇怪的錯誤。當我調用oGetHeaderValue函數並傳遞參數時發生此錯誤。類'clsGetHeaderValue'不能被索引,因爲它沒有默認屬性
Dim oGetHeaderValue As New clsGetHeaderValue
Dim returnString As String
returnString = oGetHeaderValue(strInvoiceNumber, strOrderNumber)
錯誤消息是:類'clsGetHeaderValue'不能被索引,因爲它沒有默認屬性。
doh !!!非常感謝。 – user279521 2010-10-28 14:13:34