DslLibraryHasXmlSerializationBehavior.XmlSerializationBehavior 属性

定义 XML 序列化行为的 DomainRole XmlSerializationBehavior DSL 库。

命名空间:  Microsoft.VisualStudio.Modeling.DslDefinition
程序集:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll 中)

语法

声明
<DomainObjectIdAttribute("ac38f02d-e4d6-4772-8ac2-d6f804eb873e")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslLibraryHasXmlSerializationBehavior/XmlSerializationBehavior.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslLibraryHasXmlSerializationBehavior/XmlSerializationBehavior.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainRoleAttribute(DomainRoleOrder.Target, PropertyName := "DslLibrary",  _
    PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.DslLibraryHasXmlSerializationBehavior/XmlSerializationBehavior.PropertyDisplayName",  _
    PropagatesDelete := True, PropagatesCopy := PropagatesCopyOption.DoNotPropagateCopy,  _
    Multiplicity := Multiplicity.One)> _
Public Property XmlSerializationBehavior As XmlSerializationBehavior
[DomainObjectIdAttribute("ac38f02d-e4d6-4772-8ac2-d6f804eb873e")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslLibraryHasXmlSerializationBehavior/XmlSerializationBehavior.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslLibraryHasXmlSerializationBehavior/XmlSerializationBehavior.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder.Target, PropertyName = "DslLibrary", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.DslLibraryHasXmlSerializationBehavior/XmlSerializationBehavior.PropertyDisplayName", 
    PropagatesDelete = true, PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, 
    Multiplicity = Multiplicity.One)]
public XmlSerializationBehavior XmlSerializationBehavior { get; set; }

属性值

类型:Microsoft.VisualStudio.Modeling.DslDefinition.XmlSerializationBehavior

.NET Framework 安全性

请参见

参考

DslLibraryHasXmlSerializationBehavior 类

Microsoft.VisualStudio.Modeling.DslDefinition 命名空间