ConfigurationPropertyCollection

Status
Not open for further replies.
L

L.A

Guest
I'm trying to build an ConfigurationElement with OpenEdge

USING System.Configuration.ConfigurationSection.
USING System.Configuration.ConfigurationPropertyCollection.

CLASS System.Configuration.foo ABSTRACT INHERITS ConfigurationElement:
DEFINE PROTECTED OVERRIDE PROPERTY Properties AS CLASS ConfigurationPropertyCollection NO-UNDO GET.
END CLASS.


the error message from compile check:

Attempted to override property or event ''. Only abstract properties and events can be overridden. (15133)

The compiler found the OVERRIDE modifier on a property or event definition but the matching property or event found in one of the super classes was not marked as abstract. Only abstract properties and events can be overridden.

what am I doing wrong ?

public abstract class ConfigurationSection -> is abstract

public abstract class ConfigurationElement -> parent class is abstract

protected internal virtual ConfigurationPropertyCollection Properties { get; } -> property is protected virtual

Continue reading...
 
Status
Not open for further replies.
Top