/// <param name="resourceIdOrIndex">If this number is positive, this is the index of the resource in the module file. If negative, the absolute value of the number is the resource ID of the icon in the module file.</param>
/// <summary>Gets or sets the module file name.</summary>
/// <value>The module file name.</value>
publicstringModuleFileName{get;set;}
/// <summary>Gets or sets the resource index or resource ID.</summary>
/// <value>If this number is positive, this is the index of the resource in the module file. If negative, the absolute value of the number is the resource ID of the icon in the module file.</value>
publicintResourceId{get;set;}
/// <summary>Gets the string value.</summary>
/// <value>The string value.</value>
publicstringStringValue=>IsValid?ToString():null;
/// <summary>Tries to parse the specified string to create a <see cref="IconLocation"/> instance.</summary>
/// <param name="value">The string representation in the format of either "ModuleFileName,ResourceIndex" or "ModuleFileName,-ResourceID".</param>
/// <param name="loc">The resulting <see cref="IconLocation"/> instance on success.</param>
/// <returns><c>true</c> if successfully parsed.</returns>