32304-defaultproperty4.vb

来自「大名鼎鼎的mono是.NET平台的跨平台(支持linux」· VB 代码 · 共 23 行

VB
23
字号
<System.Reflection.DefaultMember("iIeM")> _Class DefaultProperty4    Default ReadOnly Property Item(ByVal i As Integer) As String        Get            Return Nothing        End Get    End Property    Default ReadOnly Property Item(ByVal i As String) As String        Get            Return Nothing        End Get    End Property    Shared Function Main() As Integer        Try            Dim obj As Object            obj = System.Attribute.GetCustomAttribute(GetType(DefaultProperty4), GetType(System.Reflection.DefaultMemberAttribute), False)        Catch ex As Exception            System.Console.WriteLine(ex.Message)            Return 1        End Try    End FunctionEnd Class

⌨️ 快捷键说明

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