Condividi tramite


DomainXmlSerializerDirectory.AddBehavior Method

Adds a serialization behavior to this dictionary.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'Dichiarazione
Public Sub AddBehavior ( _
    serializationBehavior As DomainXmlSerializationBehavior _
)
public void AddBehavior(
    DomainXmlSerializationBehavior serializationBehavior
)
public:
void AddBehavior(
    DomainXmlSerializationBehavior^ serializationBehavior
)
member AddBehavior : 
        serializationBehavior:DomainXmlSerializationBehavior -> unit 
public function AddBehavior(
    serializationBehavior : DomainXmlSerializationBehavior
)

Parameters

Remarks

Adding a serializer behavior means adding all mapping entries defined in the behavior, which maps a domain class ID to a corresponding serializer.

.NET Framework Security

See Also

Reference

DomainXmlSerializerDirectory Class

Microsoft.VisualStudio.Modeling Namespace