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