Gets a particular item from the collection.
public MisspelledWord GetItem();
Public Function GetItem() As MisspelledWord
public MisspelledWord GetItem(MisspelledWordKind kind);
Public Function GetItem(ByVal kind As MisspelledWordKind) As MisspelledWord
public MisspelledWord GetItem(System.Drawing.Point location);
Public Function GetItem(ByVal location As System.Drawing.Point) As MisspelledWord
public MisspelledWord GetItem(int textPosition);
Public Function GetItem(ByVal textPosition As Integer) As MisspelledWord
public MisspelledWord GetItem(int textPosition, MisspelledWordKind kind);
Public Function GetItem(ByVal textPosition As Integer, ByVal kind As MisspelledWordKind) As MisspelledWord
Parameter | Description |
---|---|
kind | Specifies the word's kind. It must be one or more values of the Misspelled |
location | Specifies the word's location. The point must be specified in pixels with an origin at the top left corner of the control. If there is no misspelled word at the specified location, null is returned. |
text |
Specifies a zero-based text postion. The text positions in front of a word and behind a word belong to the word. If there is no misspelled word, the next possible word is returned. If there is no misspelled word between the specified text position and the end of the text, the first word is returned. |
The return value is null, if a misspelled word could not be found. Otherwise, it is an object of the type Misspelled