Предупреждение компилятора (уровень 1) C4817Compiler Warning (level 1) C4817
"член": недопустимое использование "." для обращения к этому члену; заменено на "->" компилятором'member' : illegal use of '.' to access this member; compiler replaced with '->'
Использован неверный оператор доступа к члену.The wrong member access operator was used.
ПримерExample
Приведенный ниже пример приводит к возникновению предупреждения C4817.The following sample generates 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
}