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
- parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
The shape.
Return Value
Type: System.Boolean
true if the decorator is visible; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.