Visual.Basic.NET实用编程百例-47.6M.zip

源代码在线查看: class.cls

软件大小: 19562 K
上传用户: huanzhudev
关键词: Visual Basic 47.6 NET
下载地址: 免注册下载 普通下载 VIP

相关代码

				VERSION 1.0 CLASS
				BEGIN
				  MultiUse = -1  'True
				  Persistable = 0  'NotPersistable
				  DataBindingBehavior = 0  'vbNone
				  DataSourceBehavior  = 0  'vbNone
				  MTSTransactionMode  = 0  'NotAnMTSObject
				END
				Attribute VB_Name = "clsTableData"
				Attribute VB_GlobalNameSpace = False
				Attribute VB_Creatable = True
				Attribute VB_PredeclaredId = False
				Attribute VB_Exposed = False
				Option Explicit
				Private mlngNumRecords As Long
				Private mdatWhenModified As Date
				Private mdatWhenCreated As Date
				Private mstrName As String
				
				Public Sub ExtractStatusData(tblDef As TableDef)
				    mstrName = tblDef.Name
				    mdatWhenModified = tblDef.LastUpdated
				    mdatWhenCreated = tblDef.DateCreated
				    mlngNumRecords = tblDef.RecordCount
				End Sub
				Property Get Name() As String
				    Name = mstrName
				End Property
				
				Property Get NumRecords() As Long
				    NumRecords = mlngNumRecords
				End Property
				
				Property Get WhenModified() As Date
				    WhenModified = mdatWhenModified
				End Property
				
				Property Get WhenCreated() As Date
				    WhenCreated = mdatWhenCreated
				End Property
				
				
							

相关资源