DomainXmlSerializerDirectory.AddBehavior Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Add a serialization behavior to this dictionary, which means adding all mapping entries defined in the behavior, which maps DomainClass Id to corresponding serializer.
public:
void AddBehavior(Microsoft::VisualStudio::Modeling::DomainXmlSerializationBehavior ^ serializationBehavior);
public void AddBehavior (Microsoft.VisualStudio.Modeling.DomainXmlSerializationBehavior serializationBehavior);
member this.AddBehavior : Microsoft.VisualStudio.Modeling.DomainXmlSerializationBehavior -> unit
Public Sub AddBehavior (serializationBehavior As DomainXmlSerializationBehavior)
Parameters
- serializationBehavior
- DomainXmlSerializationBehavior
Serialization behavior from which the mapping entries will be added.