नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
'property': property has a type that is incompatible with one of its accessors 'accessor'
Remarks
The type of a property defined with property does not match the return type for one of its accessor functions.
Example
The following example generates C3803:
// C3803.cpp
struct A
{
__declspec(property(get=GetIt)) int i;
char GetIt()
{
return 0;
}
/*
// try the following definition instead
int GetIt()
{
return 0;
}
*/
}; // C3803
int main()
{
}