InputAttribute.DefaultValue Property
Gets or sets the default value of the input property.
Namespace: Microsoft.Data.Schema.Tools.DataGenerator
Assembly: Microsoft.Data.Schema.Tools (in Microsoft.Data.Schema.Tools.dll)
Syntax
'Declaration
Public Property DefaultValue As Object
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)
Property Value
Type: System.Object
The default value.
Remarks
This property must be a type that can be represented as a literal. For example, a string or an integer is acceptable, but a point structure is not. You can use SetDefaultInputValues instead of this DefaultValue property to set default values.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.