Cast<TOperand,TResult>.Checked Property

Definition

Gets or sets a value that indicates whether the cast operation executes in a checked context.

public:
 property bool Checked { bool get(); void set(bool value); };
public bool Checked { get; set; }
member this.Checked : bool with get, set
Public Property Checked As Boolean

Property Value

true if the cast operation executes in a checked context; otherwise, false. The default is true.

Remarks

By default the Cast<TOperand,TResult> activity executes in a checked context and throws an OverflowException if the cast operation causes an overflow.

Applies to