Determines if a string value contains any of the strings passed in.
Namespace: CodeSmith.EngineAssembly: CodeSmith.Engine (in CodeSmith.Engine.dll) Version: 6.0.0.0 (7.0.0.15127)
Syntax
C# |
---|
public static bool ContainsString( string source, IEnumerable<string> wordList ) |
Visual Basic |
---|
Public Shared Function ContainsString ( source As String, wordList As IEnumerable(Of String) ) As Boolean |
Parameters
- source
- Type: System..::..String
- wordList
- Type: System.Collections.Generic..::..IEnumerable<(Of <(<'String>)>)>