 | JsonRpcParameterIsOptional Property |
[This is preliminary documentation and is subject to change.]
Whether the parameter is optional.
Namespace:
JsonRpc.Contracts
Assembly:
JsonRpc.Commons (in JsonRpc.Commons.dll) Version: 0.5.4+1bad715934a0ae5922832940ca44bbbdaa509cfe
Syntaxpublic bool IsOptional { get; set; }
Public Property IsOptional As Boolean
Get
Set
Dim instance As JsonRpcParameter
Dim value As Boolean
value = instance.IsOptional
instance.IsOptional = value
public:
property bool IsOptional {
bool get ();
void set (bool value);
}
member IsOptional : bool with get, set
Property Value
Type:
Boolean
Remarks
Parameters with certain types (e.g.
CancellationToken)
are always treated as optional.
See Also