Gets or sets the default value to use for the parameter (if none is provided by the user).
Visual Basic (Declaration) | |
---|---|
Public Property DefaultValue As DefaultValue |
C# | |
---|---|
public DefaultValue DefaultValue {get; set;} |
Property Value
A DefaultValue object used to supply the parameter.
If no value is provided as a part of the definition or by the user, the value is null. A DefaultValue is required if there is no Prompt and either Nullable is False or a ValidValues list is provided that does not contain Null (an omitted value).
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2