Share via


DataParameter.IsOptional Property

Definition

Gets a Boolean value indicating whether the current parameter is optional, provided that it is derived.

public:
 property bool IsOptional { bool get(); };
public bool IsOptional { get; }
member this.IsOptional : bool
Public ReadOnly Property IsOptional As Boolean

Property Value

true if this parameter is optional; otherwise, false.

Implements

Exceptions

The parameter is not derived.

Applies to