XML シリアル化のパブリック アクセサーを使用して NonSerialized フィールドを指定するにはどうすればよいですか?
[NonSerialized]
public String _fooBar;
//Declaring the property here will serialize the _fooBar field
public String FooBar
{
get { return _fooBar; }
set { _fooBar = value; }
}
XML シリアル化のパブリック アクセサーを使用して NonSerialized フィールドを指定するにはどうすればよいですか?
[NonSerialized]
public String _fooBar;
//Declaring the property here will serialize the _fooBar field
public String FooBar
{
get { return _fooBar; }
set { _fooBar = value; }
}