'Declaration Public Enum MissingResourceWarningAction Inherits System.Enum
public enum MissingResourceWarningAction : System.Enum
Member | Description |
---|---|
AddResource | Add a new ProjectResource to the Project.ResourceItems collection to represent the missing resource. |
Cancel | Cancel the change which caused the warning. |
RemoveResource | Remove the resource name from the resource names being parsed and continue parsing the other resource names. |
ThrowException | Allow an exception to be thrown so the error can be seen in the user interface. |
UseResource | Use the MissingResourceWarningEventArgs.Resource value to represent the missing resource. The resource specified must exist in the Project.ResourceItems collection. If this value is used but the Resource is not specified, the ThrowException value will be used instead. |
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2