共用方式為


ShapeElement.SetShowHideState Method

Sets the visibility of the shape and all its children.

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 SetShowHideState ( _
    show As Boolean _
)
public void SetShowHideState(
    bool show
)
public:
void SetShowHideState(
    bool show
)
member SetShowHideState : 
        show:bool -> unit 
public function SetShowHideState(
    show : boolean
)

Parameters

  • show
    Type: System.Boolean
    true to show the shape and its children; otherwise, false.

.NET Framework Security

See Also

Reference

ShapeElement Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace