SwitchExpressionException.UnmatchedValue Property

Definition

Gets the unmatched value associated with the exception.

public:
 property System::Object ^ UnmatchedValue { System::Object ^ get(); };
public object? UnmatchedValue { get; }
public object UnmatchedValue { get; }
member this.UnmatchedValue : obj
Public ReadOnly Property UnmatchedValue As Object

Property Value

Object

The unmatched value causing the exception.

Applies to