Method ValidateNumberOfArgs
ValidateNumberOfArgs(CompositeFormat, int)
Throws an exception if the specified number of arguments is fewer than the number required.
public static void ValidateNumberOfArgs(CompositeFormat format, int numArgs)
Parameters
format
CompositeFormatThe format.
numArgs
intThe number of arguments provided by the caller.
Exceptions
- FormatException
An insufficient number of arguments were provided.