共用方式為


DataParameter.IsOptional Property

Definition

Retrieves a Boolean value indicating whether this parameter is optional, in cases where this parameter is a derived parameter.

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

Property Value

Returns true if this parameter is optional; otherwise returns false.

Exceptions

This parameter is not derived.

Applies to