Visual Basic
C#
Managed Extensions for C++
C++/CLI
Parameters
- index
- Position where to insert a new format.
- newFormat
- New format to be inserted.
Use this method instead of Add if you want to control the detection process. If the format with the same ID exists in the list, an exception is thrown. You can use the Contains method to check if a format is already added, and call Remove or RemoveAt methods to remove a format.