Visual Basic

VB.NET HashMap

討論區: 
► 使用方式
Dim myHash As New HashMap
myHash.Add(0,"A")
myHash.Add("Z", 1)
myHash.Remove(0)
Dim myValue = myHash.Item("Z")

VB.NET 抽象(Abstract) 類別(Class)與方法(Method)

討論區: 
'抽象類別 有一定子類別
Public MustInherit Class Employee
    'Data Field
    Protected _id As String
    Protected _name As String

VB.NET 物件初始化(Intializer)

討論區: 
Imports mod06.Domain.IT
Module TestSalesObjectIntializer
    Public Sub Main()
        '定義區域變數 透過屬性初始化物件

頁面

Subscribe to RSS - Visual Basic
Free Web Hosting