| CharacterPropertiesIsAll Method (String, Int32, PredicateChar) |
Evaluates the predicate on all characters in the string, starting from position start,
and returns true if all characters
fulfill the predicate, and false otherwise. Note that the method will always return true
for the empty string or if the start position exceeds the string length.
Namespace: Sdl.LanguagePlatform.CoreAssembly: Sdl.LanguagePlatform.Core (in Sdl.LanguagePlatform.Core.dll) Version: 1.6.0.0 (1.7.3164.0)
Syntaxpublic static bool IsAll(
string s,
int start,
Predicate<char> predicate
)
Public Shared Function IsAll (
s As String,
start As Integer,
predicate As Predicate(Of Char)
) As Boolean
public:
static bool IsAll(
String^ s,
int start,
Predicate<wchar_t>^ predicate
)
static member IsAll :
s : string *
start : int *
predicate : Predicate<char> -> bool
Parameters
- s
- Type: SystemString
[Missing <param name="s"/> documentation for "M:Sdl.LanguagePlatform.Core.CharacterProperties.IsAll(System.String,System.Int32,System.Predicate{System.Char})"]
- start
- Type: SystemInt32
[Missing <param name="start"/> documentation for "M:Sdl.LanguagePlatform.Core.CharacterProperties.IsAll(System.String,System.Int32,System.Predicate{System.Char})"]
- predicate
- Type: SystemPredicateChar
[Missing <param name="predicate"/> documentation for "M:Sdl.LanguagePlatform.Core.CharacterProperties.IsAll(System.String,System.Int32,System.Predicate{System.Char})"]
Return Value
Type:
Booleantrue if all characters fulfill the predicate, or
s is the
empty string, or
start exceeds the string length, and false otherwise.
See Also
Comments