欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

Asp 返回引用類型函數(shù)代碼

 更新時(shí)間:2010年03月14日 17:22:30   作者:  
Asp函數(shù)返回引用類型代碼,需要的朋友可以參考下。
復(fù)制代碼 代碼如下:

<%
set studentinstance = CreateStudent()
if not isnull(studentinstance) then
Response.write("StudentId:"&studentinstance.StudentId&"<Br/>")
Response.write("StudentName:"&studentinstance.StudentName&"<Br/>")
end if

Function CreateStudent()
set stud = new Statudent
stud.StudentId=123
stud.StudentName="Eric liu"
set CreateStudent=stud
End Function

Class Statudent
private id
private name

public property let StudentId(id_)
id=id_
end property
public property get StudentId
StudentId=id
end property

public property let StudentName(name_)
name=name_
end property
public property get StudentName
StudentName=name
end property

End Class
%>

相關(guān)文章

最新評(píng)論