佳礼资讯网

 找回密码
 注册

ADVERTISEMENT

查看: 1099|回复: 1

怎样做个vb.net Category, description, default value?

[复制链接]
发表于 19-10-2006 09:05 AM | 显示全部楼层 |阅读模式


  1.    <Description("Maximum number of seconds a connection should live. This is checked when a connection is returned to the pool."),Category("Pooling")> _
  2.    <DefaultValue(0)> _    <<--error
  3.    Public Property ConnectionLifetime() As Integer
  4.      Get
  5.        Return GetInt("connection lifetime")
  6.      End Get
  7.      Set
  8.        keyValues("connection lifetime") = value
  9.      End Set
  10.    End Property
复制代码
回复

使用道具 举报


ADVERTISEMENT

 楼主| 发表于 19-10-2006 09:06 AM | 显示全部楼层
syntax error

怎样做?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

 

ADVERTISEMENT



ADVERTISEMENT



ADVERTISEMENT

ADVERTISEMENT


版权所有 © 1996-2023 Cari Internet Sdn Bhd (483575-W)|IPSERVERONE 提供云主机|广告刊登|关于我们|私隐权|免控|投诉|联络|脸书|佳礼资讯网

GMT+8, 12-11-2024 09:00 AM , Processed in 0.091065 second(s), 22 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表