'End Get' 之前必須搭配相對應的 'Get'

更新:2007 年 11 月

End Get 是用來結束 Get 屬性 (Property) 程序。但是卻在 Get 屬性 (Property) 程序之外遇到 End Get 建構。

錯誤 ID:BC30630

若要更正這個錯誤

  1. 請確定 Get 屬性 (Property) 程序,是在 Property 關鍵字之後,或是在 End Property 建構之前宣告。

  2. 請確定 Get 屬性 (Property) 程序是以 Get 關鍵字開頭,以 End Get 建構結尾。

請參閱

概念

Visual Basic 6.0 使用者可以進行的屬性程序變更

參考

Property 陳述式