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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
声明
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
- parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
The shape.
- value
Type: System.Object
The association.
.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.