NamedObjectWithDefault Class

From RemObjects Software

Jump to: navigation, search

This is a Data Abstract Architecture entry
Feel free to add your notes to this topic below.



Overview (.NET)

Provides a base class for items to use with a NamedObjectCollectionWithDefault Class.

Namespace

Declaration (C#)

public class NamedObjectWithDefault : NamedObject, IObjectWithDefault;

Hierarchy

  • RemObjects.Common.Collections.NamedObjectWithDefault

Properties

Property
Type
Description
Default Boolean Specified if this item is the default item in the collection, or not.

Only one item in a NamedObjectCollectionWithDefault collection can marked as default, and setting this property on an item in the collection to true will reset the Default property of any previous default item. This will call the DefaultChangeNotification interface.

DefaultChangeNotification IDefaultChangeNotification The methods of this interface will be called when the default value of this object changes.

The class will use this when the Default property changes so the owner collection can unset the previously selected default.


Methods

Method
Description
NamedObjectWithDefault Default constructor for NamedObjectWithDefault.


See Also


Product: RemObjects Data Abstract
Current version: Data Abstract 'Vinci' (5.0)

ListsGlossaryFeaturesHow ToDriversComponentsToolsSamplesArticlesArchitectureIssues

Personal tools