Re: List in collectionbase
From: Majed (amjedksa_at_hotmail.com)
Date: 05/17/04
- Next message: WingYip: "Search for an Encrypted value"
- Previous message: Eric: "Windows Services"
- In reply to: Jay B. Harlow [MVP - Outlook]: "Re: List in collectionbase"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 17 May 2004 07:45:19 -0700
"Jay B. Harlow [MVP - Outlook]" <Jay_Harlow_MVP@msn.com> wrote in message
news:OkdXlABPEHA.3264@tk2msftngp13.phx.gbl...
> Majed,
> > Public Class NewKeys
> > Inherits BaseCollection
>
> Have you tried inheriting from System.Collection.CollectionBase instead of
> System.Windows.Forms.BaseCollection?
>
> CollectionBase contains a List property for you ready to use, while
> BaseCollection requires you to override the List property and return an
> ArrayList to use.
>
> Overall CollectionBase and other classes from System.Collection &
> System.Collection.Specialized are the classes you should be using...
>
> Hope this helps
> Jay
it sure dose
thanks
- Next message: WingYip: "Search for an Encrypted value"
- Previous message: Eric: "Windows Services"
- In reply to: Jay B. Harlow [MVP - Outlook]: "Re: List in collectionbase"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|