Class MyClassA
Protected Class MyClassB
End Class
End Class
Class MyTestClass
Inherits MyClassA
Public Shared Sub Main()
Dim myTypeB As Type = GetType(MyClassA.MyClassB)
Console.WriteLine(myTypeB.IsNestedFamily.ToString())
End Sub
End Class