Urn.Compare 方法
Compares two Urn objects. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
命名空间: Microsoft.SqlServer.Management.Sdk.Sfc
程序集: Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
语法
声明
Public Shared Function Compare ( _
u1 As Urn, _
u2 As Urn, _
compInfoList As CompareOptions(), _
cultureInfo As CultureInfo _
) As Boolean
用法
Dim u1 As Urn
Dim u2 As Urn
Dim compInfoList As CompareOptions()
Dim cultureInfo As CultureInfo
Dim returnValue As Boolean
returnValue = Urn.Compare(u1, u2, _
compInfoList, cultureInfo)
public static bool Compare(
Urn u1,
Urn u2,
CompareOptions[] compInfoList,
CultureInfo cultureInfo
)
public:
static bool Compare(
Urn^ u1,
Urn^ u2,
array<CompareOptions>^ compInfoList,
CultureInfo^ cultureInfo
)
static member Compare :
u1:Urn *
u2:Urn *
compInfoList:CompareOptions[] *
cultureInfo:CultureInfo -> bool
public static function Compare(
u1 : Urn,
u2 : Urn,
compInfoList : CompareOptions[],
cultureInfo : CultureInfo
) : boolean
参数
- u1
类型:Microsoft.SqlServer.Management.Sdk.Sfc.Urn
An Urn object to compare.
- u2
类型:Microsoft.SqlServer.Management.Sdk.Sfc.Urn
An Urn object to compare.
- compInfoList
类型:array<System.Globalization.CompareOptions[]
A CompareOptions array.
- cultureInfo
类型:System.Globalization.CultureInfo
A CultureInfo object.
返回值
类型:System.Boolean
A Boolean value that specifies True if the two objects are equal.