Condividi tramite


Proprietà InputAttribute.DefaultValue

Ottiene o imposta il valore predefinito della proprietà di input.

Spazio dei nomi:  Microsoft.Data.Schema.Tools.DataGenerator
Assembly:  Microsoft.Data.Schema.Tools (in Microsoft.Data.Schema.Tools.dll)

Sintassi

'Dichiarazione
Public Property DefaultValue As Object
    Get
    Set
public Object DefaultValue { get; set; }
public:
property Object^ DefaultValue {
    Object^ get ();
    void set (Object^ value);
}
member DefaultValue : Object with get, set
function get DefaultValue () : Object
function set DefaultValue (value : Object)

Valore proprietà

Tipo: System.Object
Valore predefinito.

Note

Questa proprietà deve essere un tipo che può essere rappresentato come valore letterale. È ad esempio possibile utilizzare una stringa o un intero, ma non una struttura di punti. È possibile utilizzare SetDefaultInputValues anziché questa proprietà DefaultValue per impostare i valori predefiniti.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

InputAttribute Classe

Spazio dei nomi Microsoft.Data.Schema.Tools.DataGenerator

SetDefaultInputValues