productselectedinfo.vb

来自「C#语言制作asp.net网上商店的」· VB 代码 · 共 45 行

VB
45
字号
Namespace NetShopForge.Library.Product


    <System.Serializable()> Public Class ProductSelectedInfo

        Private _productid As Integer
        Private _productName As String
        Private _price As Decimal


        ''' <summary>
        ''' 
        ''' </summary>
        Public Property ProductID() As Integer
            Get
                Return _productid
            End Get
            Set(ByVal Value As Integer)
                _productid = Value
            End Set
        End Property
        ''' <summary>
        ''' Percent 0,absolute1
        ''' </summary>
        Public Property productName() As String
            Get
                Return _productName
            End Get
            Set(ByVal Value As String)
                _productName = Value
            End Set
        End Property
        ''' <summary>
        ''' 
        ''' </summary>
        Public Property Price() As Decimal
            Get
                Return _price
            End Get
            Set(ByVal Value As Decimal)
                _price = Value
            End Set
        End Property
    End Class
End Namespace

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?