Adds a key-value pair to the Auto Expand dictionary.
'Declaration
Sub AddEntry( _
ByVal As String, _
ByVal As String _
)
'Usage
Dim instance As IAutoExpand
Dim abbreviation As String
Dim expansion As String
instance.AddEntry(abbreviation, expansion)
Parameters
- abbreviation
- The typed abbreviation.
- expansion
- The definition, or expanded form, of the new dictionary entry.
Exception | Description |
System.ArgumentNullException |
This exception is thrown if either of the input parameters are null (or in Visual Basic, are Nothing).
|
AutoExpandDefinition autoExpandDef;
string strAbb = autoExpandDef.Abbreviation;
string strExp = autoExpandDef.Expansion;
AddEntry(strAbb,strExp);