AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

#define MG_CHECK_PROPERTY_TYPE ( property,
type,
methodname   ) 

Value:

if (property != type)                                                         \
{                                                                             \
    throw new MgInvalidPropertyTypeException(methodname,                      \
        __LINE__, __WFILE__, NULL, L"", NULL);                                \
}