This topic has not yet been rated - Rate this topic

IReflect Methods

The IReflect type exposes the following members.

  Name Description
Public method GetField Returns the FieldInfo object that corresponds to the specified field and binding flag.
Public method GetFields Returns an array of FieldInfo objects that correspond to all fields of the current class.
Public method GetMember Retrieves an array of MemberInfo objects corresponding to all public members or to all members that match a specified name.
Public method GetMembers Retrieves an array of MemberInfo objects that correspond either to all public members or to all members of the current class.
Public method GetMethod(String, BindingFlags) Retrieves a MethodInfo object that corresponds to a specified method under specified search constraints.
Public method GetMethod(String, BindingFlags, Binder, Type[], ParameterModifier[]) Retrieves a MethodInfo object corresponding to a specified method, using a Type array to choose from among overloaded methods.
Public method GetMethods Retrieves an array of MethodInfo objects with all public methods or all methods of the current class.
Public method GetProperties Retrieves an array of PropertyInfo objects corresponding to all public properties or to all properties of the current class.
Public method GetProperty(String, BindingFlags) Retrieves a PropertyInfo object corresponding to a specified property under specified search constraints.
Public method GetProperty(String, BindingFlags, Binder, Type, Type[], ParameterModifier[]) Retrieves a PropertyInfo object that corresponds to a specified property with specified search constraints.
Public method InvokeMember Invokes a specified member.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.