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
- 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.