 | JsonRpcParameterAttributeDefaultValue Property |
[This is preliminary documentation and is subject to change.]
The default value for the optional parameter.
Namespace:
JsonRpc.Contracts
Assembly:
JsonRpc.Commons (in JsonRpc.Commons.dll) Version: 0.5.4+1bad715934a0ae5922832940ca44bbbdaa509cfe
Syntaxpublic Object DefaultValue { get; set; }
Public Property DefaultValue As Object
Get
Set
Dim instance As JsonRpcParameterAttribute
Dim value As Object
value = instance.DefaultValue
instance.DefaultValue = value
public:
property Object^ DefaultValue {
Object^ get ();
void set (Object^ value);
}
member DefaultValue : Object with get, set
Property Value
Type:
Object
Remarks
This value is in effect only if
IsOptional is
true.
Setting this value will automatically set
IsOptional to
true.
If you are setting both
IsOptional and this property, the resulting
behavior is undefined.
See Also