Share via


Validator.CheckAndTrimString Method

Include Protected Members
Include Inherited Members

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodStatic member CheckAndTrimString(String%, String, IPropertyValidator, Int32) Inline validation method for string properties that cannot be empty or too long. This method trims the string and do comparison.
Public methodStatic member CheckAndTrimString(String%, String, String, IPropertyValidator, Int32) Inline validation method for string properties that cannot be empty or too long. This method trims the string and do comparison.
Public methodStatic member CheckAndTrimString(String%, String, String, IPropertyValidator, Int32, Boolean) Inline validation method for string properties that cannot be too long. Whether it can be empty or not can be configured. This method trims the string and do comparison.

Top

See Also

Reference

Validator Class

Microsoft.TeamFoundation.TestManagement.Client.Internal Namespace