vb System.Type.IsVisible类(方法)实例源码

下面列出了vb System.Type.IsVisible 类(方法)源码代码实例,从而了解它的用法。

作者:VB.NET开发    项目:Syste   
Friend Class InternalOnly
    Public Class Nested
    End Class
End Class

Public Class Example
    Public Class Nested
    End Class

    Public Shared Sub Main()
        With GetType(InternalOnly.Nested)
            Console.WriteLine("Is the " & .FullName _ 
                & " class visible outside the assembly? " & .IsVisible)
        End With

        With GetType(Example.Nested)
            Console.WriteLine("Is the " & .FullName _ 
                & " class visible outside the assembly? " & .IsVisible)
        End With
    End Sub
End Class


问题


面经


文章

微信
公众号

扫码关注公众号