Avviso del compilatore (livello 1) C4817

'member': uso illegale di '.' per accedere a questo membro; compilatore sostituito con '->'

È stato usato l'operatore di accesso al membro errato.

Esempio

L'esempio seguente genera l'errore C4817.

// C4817.cpp
// compile with: /clr /W1
using namespace System;
int main() {
   array<Int32> ^ a = gcnew array<Int32>(100);
   Console::WriteLine( a.Length );   // C4817
   Console::WriteLine( a->Length );   // OK
}