AddCodeFix Method AddCodeFix() When implemented by a class, adds a new item to the ICodeFixItem collection. Declaration ICodeFixItem AddCodeFix() Returns Type Description ICodeFixItem ICodeFixItem that is added.