Hunny Software Library Reference

Text.InsertEncodedWordAt Method 

Inserts an encoded word at the specified position.

[Visual Basic]
Public Sub InsertEncodedWordAt( _
   ByVal index As Integer, _
   ByVal word As EncodedWord _
)
[C#]
public void InsertEncodedWordAt(
   int index,
   EncodedWord word
);

Parameters

index
The position in the list to insert the EncodedWord object (0 <= index <= NumEncodedWords).
word
The EncodedWord object to insert.

Remarks

Inserting at position 0 inserts the encoded word at the beginning. Inserting at position NumEncodedWords appends the encoded word to the end.

Exceptions

Exception TypeCondition
ArgumentOutOfRangeExceptionindex is out of range.

See Also

Text Class | Hunny.Mime Namespace