NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Implicitly

Trailing default arguments are considered even when no value is specified at the call site. This is the common case usage of default arguments.

The following code fragment is from the example in the overview:

void Foo (int a, double b = 1.2, int c = 1)

This method can be called using Type.InvokeMember as follows:

t.InvokeMember (“foo”, new Object[] {10, 55.3, 12});
t.InvokeMember (“foo”, new Object[] {10, 1.3});
t.InvokeMember (“foo”, new Object[] {10});