共用方式為


FileSpec.Compare 方法 (String, String, Char, StringComparison)

命名空間:  Microsoft.TeamFoundation.Common
組件:  Microsoft.TeamFoundation.Common (在 Microsoft.TeamFoundation.Common.dll 中)

語法

'宣告
Public Shared Function Compare ( _
    item1 As String, _
    item2 As String, _
    slash As Char, _
    comparison As StringComparison _
) As Integer
public static int Compare(
    string item1,
    string item2,
    char slash,
    StringComparison comparison
)

參數

傳回值

型別:System.Int32

.NET Framework 安全性

請參閱

參考

FileSpec 類別

Compare 多載

Microsoft.TeamFoundation.Common 命名空間