기타 Re: [VB.NET] 자동 구현 속성(Property Examples (Get, Set)) - Dot Net(Visual B…
페이지 정보
본문
Public Class APP_USER
Private USER_ID As String
Private USER_PW As String
Private USER_NAME As String
Private USER_LEVEL As Integer
Public Property ID() As String
Get
Return USER_ID
End Get
Set(ByVal Value As String)
USER_ID = Value
End Set
End Property
Public Property PW() As String
Get
Return USER_PW
End Get
Set(ByVal Value As String)
USER_PW = Value
End Set
End Property
Public Property NAME() As String
Get
Return USER_NAME
End Get
Set(ByVal Value As String)
USER_NAME = Value
End Set
End Property
Public Property LEVEL() As Integer
Get
Return USER_LEVEL
End Get
Set(ByVal Value As Integer)
USER_LEVEL = Value
End Set
End Property
End Class
- 이전글[VB.NET] 자동 구현 속성(Property Examples (Get, Set)) - Dot Net(Visual Basic) 20.02.22
- 다음글[vb.net] Enum 문(Visual Basic) - 열거형 / 변수선언 20.02.22
댓글목록
등록된 댓글이 없습니다.