共用方式為


LineLabelShape.Placement 屬性

取得或設定定位網域屬性的值。Microsoft.VisualStudio.Modeling.Diagrams.LineLabelShape.Placement 的描述

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

語法

'宣告
<DomainPropertyAttribute(Kind := DomainPropertyKind.CustomStorage)> _
<DomainObjectIdAttribute("fff47609-f237-4570-97a0-48e6cb890423")> _
<BrowsableAttribute(False)> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LineLabelShape/Placement.DisplayName",  _
    GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LineLabelShape/Placement.Description",  _
    GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
Public Property Placement As LabelPlacement
[DomainPropertyAttribute(Kind = DomainPropertyKind.CustomStorage)]
[DomainObjectIdAttribute("fff47609-f237-4570-97a0-48e6cb890423")]
[BrowsableAttribute(false)]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LineLabelShape/Placement.DisplayName", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LineLabelShape/Placement.Description", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
public LabelPlacement Placement { get; set; }

屬性值

型別:Microsoft.VisualStudio.Modeling.Diagrams.LabelPlacement

.NET Framework 安全性

請參閱

參考

LineLabelShape 類別

Microsoft.VisualStudio.Modeling.Diagrams 命名空間