Sdílet prostřednictvím


ParameterConfiguration.HasDefaultValue(String) Metoda

Definice

Nastaví volitelnou hodnotu na true a výchozí hodnotu jako danou hodnotu.

public Microsoft.AspNet.OData.Builder.ParameterConfiguration HasDefaultValue (string defaultValue);
member this.HasDefaultValue : string -> Microsoft.AspNet.OData.Builder.ParameterConfiguration
Public Function HasDefaultValue (defaultValue As String) As ParameterConfiguration

Parametry

defaultValue
String

Výchozí hodnota.

Návraty

Platí pro