45 references to CompareMethod
Microsoft.VisualBasic (1)
Microsoft.VisualBasic.cs (1)
8
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(Microsoft.VisualBasic.
CompareMethod
))]
Microsoft.VisualBasic.Core (44)
Microsoft\VisualBasic\CompilerServices\LikeOperator.vb (3)
198
Public Shared Function LikeObject(ByVal Source As Object, ByVal Pattern As Object, ByVal CompareOption As
CompareMethod
) As Object
241
Public Shared Function LikeString(ByVal Source As String, ByVal Pattern As String, ByVal CompareOption As
CompareMethod
) As Boolean
276
If CompareOption =
CompareMethod
.Binary Then
Microsoft\VisualBasic\CompilerServices\ObjectType.vb (1)
3447
Public Shared Function LikeObj(ByVal vLeft As Object, ByVal vRight As Object, ByVal CompareOption As
CompareMethod
) As Boolean
Microsoft\VisualBasic\CompilerServices\StringType.vb (7)
196
Public Shared Function StrLike(ByVal Source As String, ByVal Pattern As String, ByVal CompareOption As
CompareMethod
) As Boolean
197
If CompareOption =
CompareMethod
.Binary Then
246
Skip = AsteriskSkip(Pattern.Substring(PatternIndex + 1), Source.Substring(SourceIndex), SourceEndIndex - SourceIndex,
CompareMethod
.Binary, m_InvariantCompareInfo)
429
Skip = AsteriskSkip(Pattern.Substring(PatternIndex + 1), Source.Substring(SourceIndex), SourceEndIndex - SourceIndex,
CompareMethod
.Text, ci)
621
ByVal CompareOption As
CompareMethod
, ByVal ci As CompareInfo) As Integer
658
If CompareOption =
CompareMethod
.Binary Then
722
Private Shared Function MultipleAsteriskSkip(ByVal Pattern As String, ByVal Source As String, ByVal Count As Integer, ByVal CompareOption As
CompareMethod
) As Integer
Microsoft\VisualBasic\CompilerServices\VBBinder.vb (2)
302
If StrComp(names(NameIndex), Parameters(ParmIndex).Name,
CompareMethod
.Text) = 0 Then
1905
If StrComp(names(i), pars(j).Name,
CompareMethod
.Text) = 0 Then
Microsoft\VisualBasic\Constants.vb (4)
37
Public Const vbBinaryCompare As
CompareMethod
=
CompareMethod
.Binary
38
Public Const vbTextCompare As
CompareMethod
=
CompareMethod
.Text
Microsoft\VisualBasic\Strings.vb (27)
294
Public Function Filter(ByVal Source() As Object, ByVal Match As String, Optional ByVal Include As Boolean = True, <Microsoft.VisualBasic.CompilerServices.OptionCompareAttribute()> Optional ByVal [Compare] As
CompareMethod
=
CompareMethod
.Binary) As String()
314
Public Function Filter(ByVal Source() As String, ByVal Match As String, Optional ByVal Include As Boolean = True, <Microsoft.VisualBasic.CompilerServices.OptionCompareAttribute()> Optional ByVal [Compare] As
CompareMethod
=
CompareMethod
.Binary) As String()
340
If [Compare] =
CompareMethod
.Text Then
375
Public Function InStr(ByVal String1 As String, ByVal String2 As String, <Microsoft.VisualBasic.CompilerServices.OptionCompareAttribute()> Optional ByVal [Compare] As
CompareMethod
=
CompareMethod
.Binary) As Integer
376
If Compare =
CompareMethod
.Binary Then
383
Public Function InStr(ByVal Start As Integer, ByVal String1 As String, ByVal String2 As String, <Microsoft.VisualBasic.CompilerServices.OptionCompareAttribute()> Optional ByVal [Compare] As
CompareMethod
=
CompareMethod
.Binary) As Integer
388
If Compare =
CompareMethod
.Binary Then
436
Public Function InStrRev(ByVal StringCheck As String, ByVal StringMatch As String, Optional ByVal Start As Integer = -1, <Microsoft.VisualBasic.CompilerServices.OptionCompareAttribute()> Optional ByVal [Compare] As
CompareMethod
=
CompareMethod
.Binary) As Integer
467
If [Compare] =
CompareMethod
.Binary Then
662
Public Function Replace(ByVal Expression As String, ByVal Find As String, ByVal Replacement As String, Optional ByVal Start As Integer = 1, Optional ByVal Count As Integer = -1, <Microsoft.VisualBasic.CompilerServices.OptionCompareAttribute()> Optional ByVal [Compare] As
CompareMethod
=
CompareMethod
.Binary) As String
701
Private Function ReplaceInternal(ByVal Expression As String, ByVal Find As String, ByVal Replacement As String, ByVal Count As Integer, ByVal [Compare] As
CompareMethod
) As String
706
System.Diagnostics.Debug.Assert([Compare] =
CompareMethod
.Text Or [Compare] =
CompareMethod
.Binary, "Unknown compare.")
720
If [Compare] =
CompareMethod
.Text Then
770
Public Function Split(ByVal Expression As String, Optional ByVal Delimiter As String = " ", Optional ByVal Limit As Integer = -1, <Microsoft.VisualBasic.CompilerServices.OptionCompareAttribute()> Optional ByVal [Compare] As
CompareMethod
=
CompareMethod
.Binary) As String()
855
If [Compare] =
CompareMethod
.Binary Then
1972
Public Function StrComp(ByVal String1 As String, ByVal String2 As String, <Microsoft.VisualBasic.CompilerServices.OptionCompareAttribute()> Optional ByVal [Compare] As
CompareMethod
=
CompareMethod
.Binary) As Integer
1974
If ([Compare] =
CompareMethod
.Binary) Then
1976
ElseIf ([Compare] =
CompareMethod
.Text) Then