共用方式為


Implicit 轉換 (ServiceQueueEvent to ServiceQueueEventSet)

Casts a service queue event as a service queue event set.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Shared Widening Operator CType ( _
    eventValue As ServiceQueueEvent _
) As ServiceQueueEventSet
'用途
Dim input As ServiceQueueEvent
Dim output As ServiceQueueEventSet

output = CType(input, ServiceQueueEventSet)
public static implicit operator ServiceQueueEventSet (
    ServiceQueueEvent eventValue
)
static implicit operator ServiceQueueEventSet^ (
    ServiceQueueEvent^ eventValue
)
JScript 支援自訂轉換的使用,但不支援新轉換的宣告。