Partilhar via


Propriedade XmlSerializationBehaviorHasXmlClassData.Behavior

Dados de configuração de serialização Xml de comportamento DomainRole definidos por esse comportamento, indexado por classe.

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (em Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)

Sintaxe

'Declaração
<DomainRoleAttribute(DomainRoleOrder.Source, PropertyName := "ClassData", PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.XmlSerializationBehaviorHasXmlClassData/Behavior.PropertyDisplayName",  _
    PropagatesCopy := PropagatesCopyOption.PropagatesCopyToLinkAndOppositeRolePlayer,  _
    Multiplicity := Multiplicity.ZeroMany)> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.XmlSerializationBehaviorHasXmlClassData/Behavior.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.XmlSerializationBehaviorHasXmlClassData/Behavior.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("44e12fb4-19a3-4765-8582-c647a59a1070")> _
Public Property Behavior As XmlSerializationBehavior
[DomainRoleAttribute(DomainRoleOrder.Source, PropertyName = "ClassData", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.XmlSerializationBehaviorHasXmlClassData/Behavior.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption.PropagatesCopyToLinkAndOppositeRolePlayer, 
    Multiplicity = Multiplicity.ZeroMany)]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.XmlSerializationBehaviorHasXmlClassData/Behavior.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.XmlSerializationBehaviorHasXmlClassData/Behavior.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("44e12fb4-19a3-4765-8582-c647a59a1070")]
public XmlSerializationBehavior Behavior { get; set; }

Valor de propriedade

Tipo: Microsoft.VisualStudio.Modeling.DslDefinition.XmlSerializationBehavior

Segurança do .NET Framework

Consulte também

Referência

XmlSerializationBehaviorHasXmlClassData Classe

Namespace Microsoft.VisualStudio.Modeling.DslDefinition