在VBScript中使用类(6)


              Public Property Get StartTime
                      StartTime = Hour(internal_StartTime) & _
                              ":" & Minute(internal_StartTime)
              End Property
              Public Property Let StartTime(ByVal varTimeIn)
                      If IsDate(varTimeIn) Then
                              internal_StartTime = varTimeIn
                      End If
              End Property
              Private internal_ProgramDate
              Public Property Get ProgramDate
                      ProgramDate = Day(internal_ProgramDate) & _
                              " " & MonthName(Month(internal_ProgramDate)) & _
                              " " & Year(internal_ProgramDate)
              End Property
              Public Property Let ProgramDate(ByVal varDateIn)
                      If IsDate(varDateIn) Then
                              internal_ProgramDate = varDateIn

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:http://www.heiqu.com/3607.html