XmlSerializationBehaviorHasXmlClassData.Behavior 属性
DomainRole 行为 XML 序列化此行为定义配置数据,标记由类。
命名空间: Microsoft.VisualStudio.Modeling.DslDefinition
程序集: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll 中)
语法
声明
<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; }
属性值
类型:Microsoft.VisualStudio.Modeling.DslDefinition.XmlSerializationBehavior
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。