Ameno
Ameno

Reputation: 11

Web Service Serialization

I'd like to create a class A_bis witch inherits from class A Some fields of class A are nullable ( [XmlElement(IsNullable = true)]) . Others not ... I'm interested in the others to become nullable in the class A_bis.

Upvotes: 0

Views: 130

Answers (1)

Darin Dimitrov
Darin Dimitrov

Reputation: 1038710

You cannot achieve this by inheritance. You will have to modify the base class.

Upvotes: 2

Related Questions