当前位置:Gxlcms > ASP > ASP类的写法

ASP类的写法

时间:2021-07-01 10:21:17 帮助过:99人阅读

<%
Class myClassName
Private int_ID '分类id
'类初始化
Private Sub Class_Initialize()
m_strError = ""
End Sub

'类释放
Private Sub Class_Terminate()
m_strError = ""
End Sub

'-----读写各个属性---------------------------
Public Property Get ID
ID = int_ID
End Property

Public Property Let ID(intId)
int_ID = intId
End Property

public Function method()
End Function
End Class
%>

人气教程排行