Equality 연산자 (CollectionItem.Key, Object)
Does a boolean equality comparision between the object sent as a parameter and the left hand side of the key.
네임스페이스: Microsoft.SqlServer.Management.Collector
어셈블리: Microsoft.SqlServer.Management.Collector.dll의 Microsoft.SqlServer.Management.Collector
구문
‘선언
Public Shared Operator = ( _
lhs As CollectionItem..::..Key, _
obj As Object _
) As Boolean
‘사용 방법
Dim lhs As CollectionItem..::..Key
Dim obj As Object
Dim returnValue As Boolean
returnValue = (lhs = obj)
public static bool operator ==(
CollectionItem..::..Key lhs,
Object obj
)
public:
static bool operator ==(
CollectionItem..::..Key^ lhs,
Object^ obj
)
static let inline (=)
lhs:CollectionItem..::..Key *
obj:Object : bool
Jscript는 오버로드된 연산자의 사용을 지원하지만 새로운 오버로드된 연산자 선언은 지원하지 않습니다.
매개 변수
- lhs
형식: Microsoft.SqlServer.Management.Collector. . :: . .CollectionItem. . :: . .Key
A Key object containing the left hand side of the key.
- obj
형식: System. . :: . .Object
A Key object for comparison.
반환 값
형식: System. . :: . .Boolean
A Boolean value that returns TRUE when:
both sides are NULL
both sides are not NULL AND lhs is a key AND the keys are equal
주의
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.