Provides an opportunity to perform processing when a behavior is detached from the designer.
[Visual Basic] Protected Overridable Sub OnBehaviorDetaching() [C#] protected virtual void OnBehaviorDetaching(); [C++] protected: virtual void OnBehaviorDetaching(); [JScript] protected function OnBehaviorDetaching();
Notes to Implementers: This method can be overridden and implemented to perform additional processing when a behavior is detached from the designer.
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family
.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