Partager via


Decorator.SetVisible Method

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

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

Syntax

'Declaration
Public Sub SetVisible ( _
    parentShape As ShapeElement, _
    value As Object _
)
public void SetVisible(
    ShapeElement parentShape,
    Object value
)
public:
void SetVisible(
    ShapeElement^ parentShape, 
    Object^ value
)
member SetVisible : 
        parentShape:ShapeElement * 
        value:Object -> unit
public function SetVisible(
    parentShape : ShapeElement, 
    value : Object
)

Parameters

.NET Framework Security

See Also

Reference

Decorator Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace