2009年4月5日 星期日

VB.NET 類別.屬性.方法



Public Class ClassName

'資料欄位
Private DataField_Name as String
'方法
Public Function MethodName()

End Function
'屬性
Public Property DataFieldName() As String
Get
Return DataField_Name
End Get
Set(ByVal value As String)
DataField_Name = value
End Set
End Property

End Class

0 意見:

 

丑角的天空 Copyright © 2007-2009 Green Scrapbook Diary Designed by SimplyWP | Made free by Scrapbooking Software | Bloggerized by Ipiet Notez