Condividi tramite


DomainXmlSerializerDirectory.AddBehavior Method

Definition

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.

Applies to