Type | Description | |||
String | A string expression that indicates the name of the strategy. |
Private Sub Form_Load() Dim c As EXDICTCLIENTLibCtl.Connection Set c = Client1.OpenConnection("dict.org") If Not (c Is Nothing) Then Dim s As EXDICTCLIENTLibCtl.IStrategy For Each s In c.Strategies Debug.Print "The description for '" & s.Name & "' strategy is '" & s.Description & "'." Next c.Close End If Set c = Nothing End Sub
The sample displays the strategies in the output window like follows:
The description for 'exact' strategy is 'Match words exactly'. The description for 'prefix' strategy is 'Match prefixes'. The description for 'substring' strategy is 'Match substring occurring anywhere in word'. The description for 'suffix' strategy is 'Match suffixes'. The description for 're' strategy is 'POSIX 1003.2 (modern) regular expressions'. The description for 'regexp' strategy is 'Old (basic) regular expressions'. The description for 'soundex' strategy is 'Match using SOUNDEX algorithm'. The description for 'lev' strategy is 'Match words within Levenshtein distance one'.