共用方式為


ShapeField.SetVisible Method

Sets the visibility of the shape field.

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

Syntax

'宣告
Public Overridable Sub SetVisible ( _
    parentShape As ShapeElement, _
    value As Object _
)
public virtual void SetVisible(
    ShapeElement parentShape,
    Object value
)
public:
virtual void SetVisible(
    ShapeElement^ parentShape, 
    Object^ value
)
abstract SetVisible : 
        parentShape:ShapeElement * 
        value:Object -> unit 
override SetVisible : 
        parentShape:ShapeElement * 
        value:Object -> unit 
public function SetVisible(
    parentShape : ShapeElement, 
    value : Object
)

Parameters

.NET Framework Security

See Also

Reference

ShapeField Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace