Muistiinpano
Tälle sivulle pääsy edellyttää valtuutusta. Voit yrittää kirjautua sisään tai vaihtaa hakemistoja.
Tälle sivulle pääsy edellyttää valtuutusta. Voit yrittää vaihtaa hakemistoja.
'type' a nested type cannot be forwarded
Remarks
Type forwarding does not work on nested types.
For more information, see Type Forwarding (C++/CLI).
Example
The following example creates a component.
// C3464.cpp
// compile with: /LD /clr
public ref class R {
public:
ref class N {};
};
The following example generates C3464.
// C3464_b.cpp
// compile with: /clr /c
#using "C3464.dll"
[assembly:TypeForwardedTo(R::N::typeid)]; // C3464
[assembly:TypeForwardedTo(R::typeid)]; // OK