.NET中自己构建一个ArrDictionary
发布时间:2018-10-08 编辑:jiaochengji.com
教程集为您提供.NET中自己构建一个ArrDictionary等资源,欢迎您收藏本站,我们将为您提供最新的.NET中自己构建一个ArrDictionary资源
Public Class ArrDictionary
Private objCollection As New Collection
Private objDic As New DictionaryEntry
Private strKey, strValue As String
Public i As Integer
Public Function Item(ByVal Index As Integer) As Object
Try
Item = objCollection.Item(Index)
Catch ex As Exception
Item = "错误,无此项!"
End Try
End Function
Public Function Item(ByVal Key As String) As Object
Try
Item = objCollection.Item(Key)
Catch ex As Exception
Item = "错误,无此项!"
End Try
End Function
Public Sub Add(ByVal Key As String, ByVal Value As String)
objDic.Key = Key
objDic.Value = Value
objCollection.Add(objDic, objDic.Key)
i = 1
End Sub
Protected Overrides Sub Finalize()
您可能感兴趣的文章:
.NET中自己构建一个ArrDictionary
jQuery的Widget构造器 Fluqi
Golang 无法下载依赖解决方案 unrecognized import path "golang.org/x/net
ASP.NET中用healthMonitor属性用法
通过Visual C#.NET建一个DTS任务
.NET开发 程序员必备工具 -- FxCop:监视代码工具
C#开源资源
《Go 语言程序设计》读书笔记 (九) 命令工具集
jquery实现的超出屏幕时把固定层变为定位层的代码
.net入门教程:ASP.NET 在网页使用方法
上一篇:根据函数名称定位函数
下一篇:初探.NET中的delegate类型与.NET事件
[关闭]