共用方式為


ToggleButtonField.ChangeState Method

Change the state of the toggle button

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 ChangeState ( _
    parentShape As ShapeElement _
)
public void ChangeState(
    ShapeElement parentShape
)
public:
void ChangeState(
    ShapeElement^ parentShape
)
member ChangeState : 
        parentShape:ShapeElement -> unit 
public function ChangeState(
    parentShape : ShapeElement
)

Parameters

.NET Framework Security

See Also

Reference

ToggleButtonField Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace