EditorHasXmlSerializationDefinition.XmlSerializationDefinition 属性
定义 XML 序列化行为包装的 DomainRole XmlSerializationDefinition 编辑。
命名空间: Microsoft.VisualStudio.Modeling.DslDefinition
程序集: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll 中)
语法
声明
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.EditorHasXmlSerializationDefinition/XmlSerializationDefinition.DisplayName", _
GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.EditorHasXmlSerializationDefinition/XmlSerializationDefinition.Description", _
GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainRoleAttribute(DomainRoleOrder.Target, PropertyName := "Editor", PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.EditorHasXmlSerializationDefinition/XmlSerializationDefinition.PropertyDisplayName", _
PropagatesDelete := True, PropagatesCopy := PropagatesCopyOption.DoNotPropagateCopy, _
Multiplicity := Multiplicity.One)> _
<DomainObjectIdAttribute("986ea58f-44a6-471d-a638-79ea27fd9054")> _
Public Property XmlSerializationDefinition As XmlSerializationDefinition
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.EditorHasXmlSerializationDefinition/XmlSerializationDefinition.DisplayName",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.EditorHasXmlSerializationDefinition/XmlSerializationDefinition.Description",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder.Target, PropertyName = "Editor", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.EditorHasXmlSerializationDefinition/XmlSerializationDefinition.PropertyDisplayName",
PropagatesDelete = true, PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy,
Multiplicity = Multiplicity.One)]
[DomainObjectIdAttribute("986ea58f-44a6-471d-a638-79ea27fd9054")]
public XmlSerializationDefinition XmlSerializationDefinition { get; set; }
属性值
类型:Microsoft.VisualStudio.Modeling.DslDefinition.XmlSerializationDefinition
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。