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