已不再支援此瀏覽器。
請升級至 Microsoft Edge,以利用最新功能、安全性更新和技術支援。
'property_name': 您無法取得屬性的位址
開發人員無法使用屬性的位址。
下列範例會產生 C3142:
// C3142_2.cpp // compile with: /clr using namespace System; ref class CSize { private: property int Size { int get(); } }; int main() { &CSize::Size; // C3142 }
此頁面對您有幫助嗎?