BindingFlags.Static : BindingFlags « System.Reflection « VB.Net by API






BindingFlags.Static

  

Imports System
Imports System.Reflection

 
Public Class MainClass

    Shared Sub Main(  )
         Dim t As Type = Type.GetType("System.Reflection.Assembly")

         Dim mbrInfoArray As MemberInfo(  ) = t.FindMembers( _
             MemberTypes.Method, _
             BindingFlags.Public Or _
             BindingFlags.Static Or _
             BindingFlags.NonPublic Or _
             BindingFlags.Instance Or _
             BindingFlags.DeclaredOnly, _
             Type.FilterName, "Get*")

         Dim inf As MemberInfo
         For Each inf In mbrInfoArray
             Console.WriteLine("{0} is a {1}", _
                 inf, inf.MemberType)
         Next
    End Sub
  
End Class

   
    
  








Related examples in the same category

1.BindingFlags.Instance