Sets the visibility of a decorator that is assigned to a shape.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Sub SetVisible ( _
parentShape As ShapeElement, _
value As Object _
)
'使用
Dim instance As Decorator
Dim parentShape As ShapeElement
Dim value As Object
instance.SetVisible(parentShape, value)
public void SetVisible(
ShapeElement parentShape,
Object value
)
public:
void SetVisible(
ShapeElement^ parentShape,
Object^ value
)
public function SetVisible(
parentShape : ShapeElement,
value : Object
)
Parameters
parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElementThe shape.
value
Type: System.ObjectThe association.
Permissions
- 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.