inherting from CollectionBase

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?cm9kY2hhcg==?=

    inherting from CollectionBase

    hey all,
    if i want to inherit from collectionbase is there any intellisense to know
    what methods i need to implement?

    thanks,
    rodchar
  • Pavel Minaev

    #2
    Re: inherting from CollectionBase

    On Aug 14, 8:19 pm, rodchar <rodc...@discus sions.microsoft .comwrote:
    hey all,
    if i want to inherit from collectionbase is there any intellisense to know
    what methods i need to implement?
    Sort of. When you type "override" within the class body and press
    space, you will get a list of all overridable methods of the class.
    Note that you don't actually _have_ to override any methods of
    CollectionBase - it has default implementations for all its methods.
    For a class with abstract methods, or an interface, you can also
    position cursor on the class name in the base class declaration of
    your class and press Shift+Alt+F10, then pick the "Implement ..." item
    in the popup menu - it will create method stubs for all abstract
    methods.

    Comment

    • =?Utf-8?B?cm9kY2hhcg==?=

      #3
      Re: inherting from CollectionBase

      thanks for the help,
      rod.

      "Pavel Minaev" wrote:
      On Aug 14, 8:19 pm, rodchar <rodc...@discus sions.microsoft .comwrote:
      hey all,
      if i want to inherit from collectionbase is there any intellisense to know
      what methods i need to implement?
      >
      Sort of. When you type "override" within the class body and press
      space, you will get a list of all overridable methods of the class.
      Note that you don't actually _have_ to override any methods of
      CollectionBase - it has default implementations for all its methods.
      For a class with abstract methods, or an interface, you can also
      position cursor on the class name in the base class declaration of
      your class and press Shift+Alt+F10, then pick the "Implement ..." item
      in the popup menu - it will create method stubs for all abstract
      methods.
      >

      Comment

      Working...