更新:2007 年 11 月
此接口从多个接口继承了两个或多个同名的成员。
**错误 ID:**BC30685
更正此错误
将值转换为要使用的基接口;例如:
Interface Left Sub MySub() End Interface Interface Right Sub MySub() End Interface Interface LeftRight Inherits Left, Right End Interface Module test Sub Main() Dim x As LeftRight ' x.MySub() 'x is ambiguous. CType(x, Left).MySub() ' Cast to base type. CType(x, Right).MySub() ' Call the other base type. End Sub End Module