public static bool Contains(
string sourceFilepath,
string value,
IEqualityComparer<string> comparer = null,
Encoding enc = null
)
Public Shared Function Contains (
sourceFilepath As String,
value As String,
Optional comparer As IEqualityComparer(Of String) = Nothing,
Optional enc As Encoding = Nothing
) As Boolean
Dim sourceFilepath As String
Dim value As String
Dim comparer As IEqualityComparer(Of String)
Dim enc As Encoding
Dim returnValue As Boolean
returnValue = UtilTextFiles.Contains(sourceFilepath,
value, comparer, enc)
public:
static bool Contains(
String^ sourceFilepath,
String^ value,
IEqualityComparer<String^>^ comparer = nullptr,
Encoding^ enc = nullptr
)
static member Contains :
sourceFilepath : string *
value : string *
?comparer : IEqualityComparer<string> *
?enc : Encoding
(* Defaults:
let _comparer = defaultArg comparer null
let _enc = defaultArg enc null
*)
-> bool
No code example is currently available or this language may not be supported.
[Missing <param name="value"/> documentation for "M:DevCase.Core.DataProcessing.TextFiles.UtilTextFiles.Contains(System.String,System.String,System.Collections.Generic.IEqualityComparer{System.String},System.Text.Encoding)"]
[Missing <param name="comparer"/> documentation for "M:DevCase.Core.DataProcessing.TextFiles.UtilTextFiles.Contains(System.String,System.String,System.Collections.Generic.IEqualityComparer{System.String},System.Text.Encoding)"]
[Missing <param name="enc"/> documentation for "M:DevCase.Core.DataProcessing.TextFiles.UtilTextFiles.Contains(System.String,System.String,System.Collections.Generic.IEqualityComparer{System.String},System.Text.Encoding)"]
No code example is currently available or this language may not be supported.
True
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
False
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
Dim contains As Boolean = Contains("C:\file.txt", "Hello World!", StringComparer.OrdinalIgnoreCase)
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.