共用方式為


CompartmentShape.Geometry 屬性

取得或設定 Geometry 網域屬性的值。 此圖形的外框幾何。

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

語法

'宣告
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentShape/Geometry.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentShape/Geometry.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentShape/Geometry.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("56bbeac2-9b73-4499-9f9a-8064426e71fd")> _
Public Property Geometry As CompartmentShapeGeometry
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentShape/Geometry.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentShape/Geometry.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentShape/Geometry.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("56bbeac2-9b73-4499-9f9a-8064426e71fd")]
public CompartmentShapeGeometry Geometry { get; set; }

屬性值

類型:Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentShapeGeometry

.NET Framework 安全性

請參閱

參考

CompartmentShape 類別

Microsoft.VisualStudio.Modeling.DslDefinition 命名空間