共用方式為


ElementMergeDirective.UsesCustomMerge 屬性

取得或設定 UsesCustomMerge 網域屬性的值。 如果為 True,自訂程式碼會定義索引類別的項目合併的方式。

命名空間:  Microsoft.VisualStudio.Modeling.DslDefinition
組件:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll 中)

語法

'宣告
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ElementMergeDirective/UsesCustomMerge.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ElementMergeDirective/UsesCustomMerge.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ElementMergeDirective/UsesCustomMerge.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("d9f04dc6-6ecd-406d-8f1f-2af36f8162b3")> _
Public Property UsesCustomMerge As Boolean
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ElementMergeDirective/UsesCustomMerge.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ElementMergeDirective/UsesCustomMerge.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ElementMergeDirective/UsesCustomMerge.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("d9f04dc6-6ecd-406d-8f1f-2af36f8162b3")]
public bool UsesCustomMerge { get; set; }

屬性值

類型:System.Boolean

.NET Framework 安全性

請參閱

參考

ElementMergeDirective 類別

Microsoft.VisualStudio.Modeling.DslDefinition 命名空間