PluralizationService.IsPlural(String) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether the specified word is plural.
public:
abstract bool IsPlural(System::String ^ word);
public abstract bool IsPlural(string word);
abstract member IsPlural : string -> bool
Public MustOverride Function IsPlural (word As String) As Boolean
- word
- String
The value to be analyzed.
true
if the word is plural; otherwise, false
.
The PluralizationService class applies English rules for constructing plural and singular forms of words. To extend the service to other languages, use the PluralizationService on the EntityModelSchemaGenerator class.
Both the IsPlural and IsSingular methods can return true
for the same word. For example, both methods will return true
for the word "fish".
Product | Versions |
---|---|
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: