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ú.
'type' : illegal dereference of a handle type
Remarks
The compiler detected an illegal dereference of a handle type. You can dereference a handle type and assign it to a reference. For more information, see Tracking Reference Operator.
Example
The following example generates C3288.
// C3288.cpp
// compile with: /clr
ref class R {};
int main() {
*(System::Object^) nullptr; // C3288
// OK
(System::Object^) nullptr; // OK
R^ r;
R% pr = *r;
}