InfoConnect API Guide
Attachmate.Reflection.Productivity Namespace / IAutoExpand Interface / AddEntry Method
The typed abbreviation.
The definition, or expanded form, of the new dictionary entry.
Example


In This Topic
    AddEntry Method
    In This Topic
    Adds a key-value pair to the Auto Expand dictionary.
    Syntax
    'Declaration
     
    
    Sub AddEntry( _
       ByVal abbreviation As String, _
       ByVal expansion As String _
    ) 
    'Usage
     
    
    Dim instance As IAutoExpand
    Dim abbreviation As String
    Dim expansion As String
     
    instance.AddEntry(abbreviation, expansion)
    void AddEntry( 
       string abbreviation,
       string expansion
    )

    Parameters

    abbreviation
    The typed abbreviation.
    expansion
    The definition, or expanded form, of the new dictionary entry.
    Exceptions
    ExceptionDescription
    This exception is thrown if either of the input parameters are null (or in Visual Basic, are Nothing).
    Remarks
    Updates the current entry, if one exists.
    Example
    AutoExpandDefinition autoExpandDef;
    string strAbb = autoExpandDef.Abbreviation;
    string strExp = autoExpandDef.Expansion;
    AddEntry(strAbb,strExp);
    See Also