共用方式為


MoveableDecoratorHostShapeBase.Distance Property

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

Syntax

'宣告
<DomainObjectIdAttribute("a26a236f-1651-4e28-b33c-55cf72a4f3d3")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.MoveableDecoratorHostShape/Distance.DisplayName",  _
    GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.MoveableDecoratorHostShape/Distance.Description",  _
    GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<BrowsableAttribute(False)> _
Protected Property Distance As Double
    Get
    Set
[DomainObjectIdAttribute("a26a236f-1651-4e28-b33c-55cf72a4f3d3")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.MoveableDecoratorHostShape/Distance.DisplayName", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.MoveableDecoratorHostShape/Distance.Description", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[BrowsableAttribute(false)]
protected double Distance { get; set; }
[DomainObjectIdAttribute(L"a26a236f-1651-4e28-b33c-55cf72a4f3d3")]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.MoveableDecoratorHostShape/Distance.DisplayName", 
    typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.MoveableDecoratorHostShape/Distance.Description", 
    typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[BrowsableAttribute(false)]
protected:
property double Distance {
    double get ();
    void set (double value);
}
[<DomainObjectIdAttribute("a26a236f-1651-4e28-b33c-55cf72a4f3d3")>]
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.MoveableDecoratorHostShape/Distance.DisplayName", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.MoveableDecoratorHostShape/Distance.Description", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")>]
[<BrowsableAttribute(false)>]
member Distance : float with get, set
function get Distance () : double
function set Distance (value : double)

Property Value

Type: System.Double

.NET Framework Security

See Also

Reference

MoveableDecoratorHostShapeBase Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace