16,556
社区成员
发帖
与我相关
我的任务
分享
Private ipriorityType As PriorityType
Public Property Priority() As Integer
Get
Return ipriorityType
End Get
Set(ByVal value As Integer)
ipriorityType = value
End Set
End Property
Public Enum PriorityType
High = 2
Low = 1
Normal = 3
xxxx = 0
End Enum
Imports System
Class MyTest
Private ipriorityType As PriorityType
Public Property Priority() As PriorityType
Get
Return ipriorityType
End Get
Set(ByVal value As PriorityType)
ipriorityType = value
End Set
End Property
Public Enum PriorityType
High = 2
Low = 1
Normal = 3
xxxx = 0
End Enum
Shared Sub Main()
Dim iMyTest As New MyTest
iMyTest.Priority = PriorityType.High
Console.Write(iMyTest.Priority)
End Sub
End Class
Private ipriorityType As PriorityType
Public Property Priority() As PriorityType
Get
Return ipriorityType
End Get
Set(ByVal value As PriorityType)
ipriorityType = value
End Set
End Property