public:
property int AvailabilityStatusAsInt {
intget();
voidset ( intvalue);
}
Remarks
This is a special property, only used as part of a registry based on the Code First Entity Framework which is used for our registry example. This is needed due to the inability of the Entity Framework to handle Enums. When used in this mode, the AvailabilityStatus property should be excluded from the database.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2