Dela via


IOptionalBinderMetadata Interface

Definition

An type that designates an optional parameter for the purposes of ASP.NET Web API action overloading. Optional parameters do not participate in overloading, and do not have to have a value for the action to be selected.

This has no impact when used without ASP.NET Web API action overloading.

public interface class IOptionalBinderMetadata
public interface IOptionalBinderMetadata
type IOptionalBinderMetadata = interface
Public Interface IOptionalBinderMetadata
Derived

Properties

IsOptional

Gets a value indicating whether the parameter participates in ASP.NET Web API action overloading. If true, the parameter does not participate in overloading. Otherwise, it does.

Applies to