共用方式為


BaseShapeMap.HasCustomParentElement Property

Gets or sets the value of HasCustomParentElement domain property. Indicates that the parent element will be identified through custom code.

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)

Syntax

'宣告
<DomainObjectIdAttribute("f0fe84bb-f197-4225-857e-ee42102bfbf0")> _
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.BaseShapeMap/HasCustomParentElement.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.BaseShapeMap/HasCustomParentElement.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.BaseShapeMap/HasCustomParentElement.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
Public Property HasCustomParentElement As Boolean
    Get
    Set
[DomainObjectIdAttribute("f0fe84bb-f197-4225-857e-ee42102bfbf0")]
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.BaseShapeMap/HasCustomParentElement.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.BaseShapeMap/HasCustomParentElement.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.BaseShapeMap/HasCustomParentElement.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public bool HasCustomParentElement { get; set; }
[DomainObjectIdAttribute(L"f0fe84bb-f197-4225-857e-ee42102bfbf0")]
[CategoryResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.BaseShapeMap/HasCustomParentElement.Category", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.BaseShapeMap/HasCustomParentElement.Description", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.BaseShapeMap/HasCustomParentElement.DisplayName", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public:
property bool HasCustomParentElement {
    bool get ();
    void set (bool value);
}
[<DomainObjectIdAttribute("f0fe84bb-f197-4225-857e-ee42102bfbf0")>]
[<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.BaseShapeMap/HasCustomParentElement.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.BaseShapeMap/HasCustomParentElement.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.BaseShapeMap/HasCustomParentElement.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
member HasCustomParentElement : bool with get, set
function get HasCustomParentElement () : boolean
function set HasCustomParentElement (value : boolean)

Property Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

BaseShapeMap Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace