IdeaBlade DevForce 2010 Help Reference
IsPlural Method
See Also  Send Feedback
IdeaBlade.Core Assembly > IdeaBlade.Core Namespace > GrammarLibrary Class : IsPlural Method



pNumber
Parses the number and returns whether or not the number is plural. Only 1 is considered singular. 0 and negative numbers are considered plural.

Syntax

Visual Basic (Declaration) 
Protected Shared Function IsPlural( _
   ByVal pNumber As String _
) As Boolean
Visual Basic (Usage)Copy Code
Dim pNumber As String
Dim value As Boolean
 
value = GrammarLibrary.IsPlural(pNumber)
C# 
protected static bool IsPlural( 
   string pNumber
)
C++/CLI 
protected:
static bool IsPlural( 
   String^ pNumber
) 

Parameters

pNumber

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.