Way to set default values for Method Arguments

Questions regarding the use of the C++ SDK for Server or Client development or integration into customer products ...

Moderator: uasdkcpp

Post Reply
bryankim96
Jr. Member
Jr. Member
Posts: 2
Joined: 13 Nov 2018, 18:56

Way to set default values for Method Arguments

Post by bryankim96 »

Is there any way to set default values (or, equivalently, optional arguments) for method arguments? In our use-case we have methods with several arguments but in many cases it's only necessary to specify a few and the rest can be left to reasonable default values. Is there any way to support this behavior?

I've been looking at the Method datatype that is used to define a method's InputArguments, but it doesn't include any fields which define the default value.

jimq
Jr. Member
Jr. Member
Posts: 1
Joined: 22 Apr 2019, 03:55

Re: Way to set default values for Method Arguments

Post by jimq »

I have the same question. I've been searching for it but couldn't find any solution

Post Reply