System::Reflection::ParameterInfo::SetOptional method

ParameterInfo::SetOptional method

Sets the optional flag.

void System::Reflection::ParameterInfo::SetOptional(bool value)
ParameterTypeDescription
valuebooltrue if the parameter is optional; otherwise, false.

See Also