InputAttribute.DefaultValue Property
Gets or sets the default value of the input property.
Namespace: Microsoft.Data.Schema.DataGenerator
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Property DefaultValue As Object
'Usage
Dim instance As InputAttribute
Dim value As Object
value = instance.DefaultValue
instance.DefaultValue = value
public Object DefaultValue { get; set; }
public:
property Object^ DefaultValue {
Object^ get ();
void set (Object^ value);
}
public function get DefaultValue () : Object
public function set DefaultValue (value : Object)
Property Value
Type: System.Object
A Object that contains 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 DefaultValue 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.