Hi,
Can anyone help me find the declarations for the datatypes from a
"MgPropertyDefinition" . "GetPropertyType()" ?
I have worked out 100 are data properties and 102 are data properties but
would like some constants.
In pure FDO they are called "Schema.PropertyType.PropertyType_DataProperty"
It would make the code sample below better...
- Thanks, Crispin
MgPropertyDefinitionCollection colProperty =
classDef.GetProperties();
foreach (MgPropertyDefinition propThis in colProperty)
{
// handle geometric and data properties only
int typeofPropertyType =
propThis.GetPropertyType();
// where is the data type constant for this?
if (102 == typeofPropertyType)
{
MgGeometricPropertyDefinition geomProp =
(MgGeometricPropertyDefinition)propThis;
...
}
// where is the data type constant for this?
if (100 == typeofPropertyType)
{
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/Constants-for-MgPropertyDefinition-GetPropertyType-tp5420442p5420442.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users