for example
public interface IWMPSettings
[DispId(101)]
bool autoStart { get; set; }
[DispId(102)]
int balance { get; set; }
is it useful or is it just auto-generated for compiler? What are COM dispatch identifiers for and when would they be needed in a .NET context?
In short, yes it is useful, but only for COM dispatch:
The DispIdAttribute (from MSDN):