Thread: Type.GetFields Method (BindingFlags)

  1. #1
    Registered User
    Join Date
    May 2006

    Type.GetFields Method (BindingFlags)

    Hello everyone,

    From MSDN about Type.GetFields Method (BindingFlags),

    What means "When overridden in a derived class, searches for the fields defined for the current Type"? I can not find related description for this point in the MSDN related sample. Especially "overridden in a derived class" and "defined for the current Type"?

    thanks in advance,

  2. #2
    Confused Magos's Avatar
    Join Date
    Sep 2001
    public abstract class A
      public abstract void GetType();
    public class B : A
      public override void GetType(); //Defined for type B, overridden in a derived class

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. on method pointers and inheritance
    By BrownB in forum C++ Programming
    Replies: 2
    Last Post: 03-02-2009, 07:50 PM
  2. Best communication method to thousand childs?
    By Ironic in forum C Programming
    Replies: 8
    Last Post: 11-08-2008, 12:30 AM
  3. C# method
    By siten0308 in forum C# Programming
    Replies: 6
    Last Post: 07-15-2008, 07:01 AM
  4. Overriding a method in C
    By DavidDobson in forum C Programming
    Replies: 1
    Last Post: 07-05-2008, 07:51 AM
  5. Replies: 2
    Last Post: 01-22-2008, 04:22 PM