XdsObjects Help file
XdsObjects Namespace / XdsAssociation Class / TypeAsInt Property



TypeAsInt Property
The Type of the association as an integer.
Syntax
Public Property TypeAsInt As Integer
Dim instance As XdsAssociation
Dim value As Integer
 
instance.TypeAsInt = value
 
value = instance.TypeAsInt
public int TypeAsInt {get; set;}
public:
property int TypeAsInt {
   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 Type 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