共用方式為


Decorator.GetVisible Method

Gets the visibility of the decorator that is assigned to a shape.

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

Syntax

'宣告
Public Function GetVisible ( _
    parentShape As ShapeElement _
) As Boolean
public bool GetVisible(
    ShapeElement parentShape
)
public:
bool GetVisible(
    ShapeElement^ parentShape
)
member GetVisible : 
        parentShape:ShapeElement -> bool 
public function GetVisible(
    parentShape : ShapeElement
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the decorator is visible; otherwise, false.

.NET Framework Security

See Also

Reference

Decorator Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace