Determines whether a specified string can be used as a field name.
All field names are valid if they don't start or end with whitespace.
Namespace: Sdl.LanguagePlatform.TranslationMemoryAssembly: Sdl.LanguagePlatform.TranslationMemory (in Sdl.LanguagePlatform.TranslationMemory.dll) Version: 1.6.0.0 (1.7.3662.0)
Syntaxpublic static bool IsValidName(
string val
)
Public Shared Function IsValidName (
val As String
) As Boolean
public:
static bool IsValidName(
String^ val
)
static member IsValidName :
val : string -> bool
Parameters
- val
- Type: SystemString
The string.
Return Value
Type:
Booleantrue if the string is a legal identifier, false otherwise.
See Also
Comments