InputAttribute.DefaultValue Property

Gets or sets the default value of the input property.

Namespace: Microsoft.VisualStudio.TeamSystem.Data.DataGenerator
Assembly: Microsoft.VisualStudio.TeamSystem.Data (in microsoft.visualstudio.teamsystem.data.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);
}
/** @property */
public Object get_DefaultValue ()

/** @property */
public void set_DefaultValue (Object value)
public function get DefaultValue () : Object

public function set DefaultValue (value : Object)

Property Value

An 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.

See Also

Tasks

How to: Add Input Properties to a Data Generator

Reference

InputAttribute Class
InputAttribute Members
Microsoft.VisualStudio.TeamSystem.Data.DataGenerator Namespace
InputDescriptor