'property': set または get メソッドがありません
注釈
プロパティには、少なくとも get または set メソッドが必要です。 詳細については、「 property」を参照してください。
Example
次の例では C3903 が生成されます。
// C3903.cpp
// compile with: /clr
ref class X {
property int P {
void f(int){}
// Add one or both of the following lines.
// void set(int){}
// int get(){return 0;}
}; // C3903
property double Q[,,,,] {
void f(){}
// Add one or both of the following lines.
// void set(int, char, int, char, double, double){}
// double get(int, char, int, char, double){return 1.1;}
} // C3903
};