What type is ADXSmartTagRecognizeEventArgs.TokenListObj?

Add-in Express™ Support Service
That's what is more important than anything else

What type is ADXSmartTagRecognizeEventArgs.TokenListObj?
 
Paul Cross




Posts: 110
Joined: 2008-06-07
Anyone able to let me know the underlying type of ADXSmartTagRecognizeEventArgs.TokenListObj?

Thanks
Posted 16 Sep, 2008 09:11:12 Top
Eugene Astafiev


Add-in Express team


Posts: 8540
Joined: 2007-07-25
Hello Paul,

It is an instance of the AddinExpress.SmartTag.ISmartTagTokenList class.

If you use the TokenList object, it is strongly recommended that you also trap for the case where the TokenList object is empty. This could happen if for example no word breaker for a particular language is installed. When that happens using the TokenList object won't work and your code could fail.

You need to release the TokenList object and call the garbage collector at the end to ensure the host application does not stay in memory after it has been closed down.

.NET, Extended MAPI, Windows Phone & RT
Posted 17 Sep, 2008 05:36:21 Top