Nóta
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as shíniú isteach nó eolairí a athrú.
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as eolairí a athrú.
'default' : cannot be the name of a trivial property
Remarks
A trivial property cannot be named default. See property for more information.
Example
The following example generates C3291.
// C3291.cpp
// compile with: /clr /c
ref struct C {
property System::String ^ default; // C3291
property System::String ^ Default; // OK
};