Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Sub New ( _
state As Object, _
parentShape As ShapeElement _
)
'使用
Dim state As Object
Dim parentShape As ShapeElement
Dim instance As New ToggleButtonEventArgs(state, parentShape)
public ToggleButtonEventArgs(
Object state,
ShapeElement parentShape
)
public:
ToggleButtonEventArgs(
Object^ state,
ShapeElement^ parentShape
)
public function ToggleButtonEventArgs(
state : Object,
parentShape : ShapeElement
)
Parameters
- state
Type: System.Object
- parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
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.