XdsObjects Help file
XdsObjects Namespace / XdsFolder Class / AvailabilityStatusAsInt Property



In This Topic
    AvailabilityStatusAsInt Property (XdsFolder)
    In This Topic
    The AvailabilityStatus as an integer
    Syntax
    Public Property AvailabilityStatusAsInt As Integer
    Dim instance As XdsFolder
    Dim value As Integer
     
    instance.AvailabilityStatusAsInt = value
     
    value = instance.AvailabilityStatusAsInt
    public int AvailabilityStatusAsInt {get; set;}
    public:
    property int AvailabilityStatusAsInt {
       int get();
       void set (    int value);
    }
    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

    See Also