VB.NET学习(一)建立对象访问属性

Public Class TestClass Test
    
Private _classid As String
    
''' <summary>
    ''' 设置和获取分类ID
    ''' </summary>
    Public Property classid()
        
Get
            
Return _classid
        
End Get
        
Set(ByVal value)
            _classid 
= value
        
End Set
    
End Property
End Class


原文地址:https://www.cnblogs.com/sekihin/p/713518.html
Creative Commons License 本作品采用 知识共享署名-非商业性使用 2.5 中国大陆许可协议进行许可。