ExtractError Method
Gets an exception from an object that may be a BindingNotification.
Definition
Namespace: Avalonia.Data
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public static Object? ExtractError(
Object? o
)
Public Shared Function ExtractError (
o As Object
) As Object
static member ExtractError :
o : Object -> Object
Parameters
- Object
- The object.
Return Value
Object
The value.
Remarks
If o is a BindingNotification then returns the binding notification's Error. If not, returns the object unchanged.