Web API Reference MapGuide Open Source
#define CHECK_EMPTY_CREFSTRING ( str,
methodName   ) 

Value:

if (((CREFSTRING)str).empty())                                            \
    {                                                                         \
        MgStringCollection arguments;                                         \
        arguments.Add(L"1");                                                  \
        arguments.Add(MgResources::BlankArgument);                            \
        throw new MgInvalidArgumentException(methodName, __LINE__, __WFILE__, &arguments, L"MgStringEmpty", NULL); \
    }                                                                         \


Comments or suggestions? Send us feedback.