Name
IReflect
Synopsis
This interface defines how types are reflected and provides all the
relevant information about the members of a class (methods, fields,
and properties). The Get
methods allow access
to these members. The methods GetField()
, GetMethod()
, GetProperty()
, and GetMember()
return
single members of the specified type by name. The methods GetFields()
, GetMethods()
, GetProperties()
, and GetMembers()
return all of the specified type of members contained by the
class.
Public Interface IReflect ' Public Instance Properties Public ReadOnly Property UnderlyingSystemType As Type ' Public Instance Methods Public Function GetField(ByVal name As String, ByVal bindingAttr As BindingFlags) As FieldInfo Public Function GetFields( ByVal bindingAttr As BindingFlags) As FieldInfo() Public Function GetMember(ByVal name As String, ByVal bindingAttr As BindingFlags) As MemberInfo() Public Function GetMembers( ByVal bindingAttr As BindingFlags) As MemberInfo() Public Function GetMethod(ByVal name As String, ByVal bindingAttr As BindingFlags) As MethodInfo Public Function GetMethod(ByVal name As String, ByVal bindingAttr As BindingFlags, ByVal binder As Binder, ByVal types As Type(), ByVal modifiers As ParameterModifier()) As MethodInfo Public Function GetMethods( ByVal bindingAttr As BindingFlags) As MethodInfo() Public Function GetProperties( ByVal bindingAttr As BindingFlags) As PropertyInfo() Public Function GetProperty(ByVal name As String, ByVal bindingAttr As BindingFlags) As PropertyInfo ...
Get VB.NET Core Classes in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.