BehaviorService.PopBehavior(Behavior) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes and returns the Behavior at the top of the stack.
public:
System::Windows::Forms::Design::Behavior::Behavior ^ PopBehavior(System::Windows::Forms::Design::Behavior::Behavior ^ behavior);
public System.Windows.Forms.Design.Behavior.Behavior PopBehavior (System.Windows.Forms.Design.Behavior.Behavior behavior);
public System.Windows.Forms.Design.Behavior.Behavior? PopBehavior (System.Windows.Forms.Design.Behavior.Behavior behavior);
member this.PopBehavior : System.Windows.Forms.Design.Behavior.Behavior -> System.Windows.Forms.Design.Behavior.Behavior
Public Function PopBehavior (behavior As Behavior) As Behavior
Parameters
Returns
The Behavior that was removed from the stack.
Exceptions
The Behavior stack is empty.
Remarks
Removes the current Behavior from the behavior stack internally maintained by the BehaviorService.
Applies to
See also
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.