iBATIS.NET Class Library DataMapper V1.6.1, DataAccess V1.9.1

StringTokenizer.TokenNumber Property

Returns the number of tokens in the String using the current deliminter set. This is the number of times nextToken() can return before it will generate an exception. Use of this routine to count the number of tokens is faster than repeatedly calling nextToken() because the substrings are not constructed and returned for each token.

[Visual Basic]
Public ReadOnly Property TokenNumber As 
[C#]
public Int32 TokenNumber {get;}

See Also

StringTokenizer Class | IBatisNet.Common.Utilities Namespace