नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
'type': only an imported type can be forwarded
Remarks
The TypeForwardedTo attribute must be applied to a type in referenced metadata.
For more information, see Type Forwarding (C++/CLI).
Example
The following example creates a component.
// C3462.cpp
// compile with: /clr /LD
public ref class R {};
The following example generates C3462.
// C3462b.cpp
// compile with: /clr /c
#using "C3462.dll"
ref class N {};
[assembly:TypeForwardedTo(N::typeid)]; // C3462
[assembly:TypeForwardedTo(R::typeid)];