Click or drag to resize

YStringExtentionMethodsIsIdentifiant Method

Check if the identifiant is valid as an identifiant according to the following criterias :
  • It cannot be null or empty.
  • It contains only alphanumeric characters and/or underscore character.
  • It does not start with a digit number.

Namespace: Upsilon.Common.Library
Assembly: Upsilon.Common.Library (in Upsilon.Common.Library.dll) Version: 2.2.2+14985a67b419f90e14e6b1bde61d18cf6cf12b27
Syntax
C#
public static bool IsIdentifiant(
	this string identifiant
)

Parameters

identifiant  String

Return Value

Boolean
Return true or false.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also