नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
'operator' : cannot use this indirection on type 'type'
Remarks
An attempt was made to use indirection that is not allowed on type.
Examples
The following example generates C3699.
// C3699.cpp
// compile with: /clr /c
using namespace System;
int main() {
String * s; // C3699
// try the following line instead
// String ^ s2;
}
A trivial property cannot have reference type. See property for more information. The following example generates C3699.
// C3699_b.cpp
// compile with: /clr /c
ref struct C {
property System::String % x; // C3699
property System::String ^ y; // OK
};
The equivalent of a "pointer to a pointer" syntax is a handle to a tracking reference. The following example generates C3699.
// C3699_c.cpp
// compile with: /clr /c
using namespace System;
void Test(String ^^ i); // C3699
void Test2(String ^% i);