已不再支援此瀏覽器。
請升級至 Microsoft Edge,以利用最新功能、安全性更新和技術支援。
'default' : trivial 屬性不能使用這個名稱
trivial 屬性不可命名為 default。 如需詳細資訊,請參閱 property 。
default
下列範例會產生 C3291:
// C3291.cpp // compile with: /clr /c ref struct C { property System::String ^ default; // C3291 property System::String ^ Default; // OK };
此頁面對您有幫助嗎?