欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

ASP类的写法

程序员文章站 2023-11-13 15:38:40
<% class myclassname private int_id '分类id '类初始化 private sub class_initialize() m_st...
<%
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
%>