LogManager.RemovePropertyChangeListener(IPropertyChangeListener) 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 an event listener for property change events.
[Android.Runtime.Register("removePropertyChangeListener", "(Ljava/beans/PropertyChangeListener;)V", "GetRemovePropertyChangeListener_Ljava_beans_PropertyChangeListener_Handler")]
public virtual void RemovePropertyChangeListener (Java.Beans.IPropertyChangeListener? l);
[<Android.Runtime.Register("removePropertyChangeListener", "(Ljava/beans/PropertyChangeListener;)V", "GetRemovePropertyChangeListener_Ljava_beans_PropertyChangeListener_Handler")>]
abstract member RemovePropertyChangeListener : Java.Beans.IPropertyChangeListener -> unit
override this.RemovePropertyChangeListener : Java.Beans.IPropertyChangeListener -> unit
Parameters
event listener (can be null)
- Attributes
Remarks
Removes an event listener for property change events. If the same listener instance has been added to the listener table through multiple invocations of addPropertyChangeListener
, then an equivalent number of removePropertyChangeListener
invocations are required to remove all instances of that listener from the listener table.
Returns silently if the given listener is not found.
<b>WARNING:</b> This method is omitted from this class in all subset Profiles of Java SE that do not include the java.beans
package.
This member is deprecated. The dependency on PropertyChangeListener
creates a significant impediment to future modularization of the Java platform. This method will be removed in a future release. The global LogManager
can detect changes to the logging configuration by overridding the #readConfiguration readConfiguration
method.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.