2 つの文字列を比較します。Xaml と WinForms で使用できます。
シンタックス
'宣言
Public Shared Function Compare( _
ByVal As System.String, _
ByVal As System.Integer, _
ByVal As System.String, _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As System.Boolean _
) As System.Integer
'使用法
Dim strA As System.String
Dim indexA As System.Integer
Dim strB As System.String
Dim indexB As System.Integer
Dim length As System.Integer
Dim ignoreCase As System.Boolean
Dim value As System.Integer
value = Utils.Compare(strA, indexA, strB, indexB, length, ignoreCase)
public static System.int Compare(
System.string ,
System.int ,
System.string ,
System.int ,
System.int ,
System.bool
)
パラメータ
- strA
- indexA
- strB
- indexB
- length
- ignoreCase
参照