Implicit 转换 (ServiceQueueEvent to ServiceQueueEventSet)

命名空间:  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 支持使用自定义转换,但不支持声明新自定义转换。