PluralizationService.IsSingular(String) Method
Definition
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 singular.
public:
abstract bool IsSingular(System::String ^ word);
public abstract bool IsSingular (string word);
abstract member IsSingular : string -> bool
Public MustOverride Function IsSingular (word As String) As Boolean
Parameters
- word
- String
The value to be analyzed.
Returns
true
if the word is singular; otherwise, false
.
Remarks
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 IsSingular and IsPlural methods can return true
for the same word. For example, both methods will return true
for the word "fish".