XmlRelationshipData.OmitElement 属性

获取或设置 OmitElement 字段的特性的值。如果为 true, XML 标记与源角色相应从该架构被忽略。

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

语法

声明
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.XmlRelationshipData/OmitElement.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.XmlRelationshipData/OmitElement.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("441c8889-56a9-4db9-8781-b19d62a2cd18")> _
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.XmlRelationshipData/OmitElement.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
Public Property OmitElement As Boolean
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.XmlRelationshipData/OmitElement.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.XmlRelationshipData/OmitElement.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("441c8889-56a9-4db9-8781-b19d62a2cd18")]
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.XmlRelationshipData/OmitElement.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public bool OmitElement { get; set; }

属性值

类型:System.Boolean

.NET Framework 安全性

请参见

参考

XmlRelationshipData 类

Microsoft.VisualStudio.Modeling.DslDefinition 命名空间