public Annotation this[int lineIndex]
{
get
{
if (lineIndex < 0 || lineIndex > this.Count - 1)
throw new ArgumentOutOfRangeException("lineIndex", Resources.Exception_IndexOutOfRange);
// Use our Create method so others can override this class and provide custom annotations
return this.CreateAnnotationInstance(lineIndex);
}
}