Poznámka
Na prístup k tejto stránke sa vyžaduje oprávnenie. Môžete sa skúsiť prihlásiť alebo zmeniť adresáre.
Na prístup k tejto stránke sa vyžaduje oprávnenie. Môžete skúsiť zmeniť adresáre.
property declaration at non-class scope is not allowed
Remarks
The property __declspec modifier was used outside a class. A property can only be declared inside a class.
Example
The following example generates C3065:
// C3065.cpp
// compile with: /c
__declspec(property(get=get_i)) int i; // C3065
class x {
public:
__declspec(property(get=get_i)) int i; // OK
};