ARCed.Scintilla.AnnotationCollection.this C# (CSharp) Method

this() public method

Gets the annotation at the specified line index.
/// is less than zero. -or- /// is equal to or greater than . ///
public this ( int lineIndex ) : Annotation
lineIndex int The zero-based document line index of the annotation to get.
return Annotation
		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);
			}
		}