Where the member name is not known for example , when binding to a default member 绑定至特定成员,其中成员名称是未知的(例如,绑定至默认成员时) 。
You must use the numeric value instead of the enumerator member name in the expression 的整数等价值。在表达式中,必须使用数值而不是枚举器成员名称。
Member you can specify the dispid instead of the member name , using the string format " dispid " 成员时,可以使用字符串格式“ dispid ”指定dispid而非成员名称。
Any type can have a default member , which is a member that is invoked when no member name is given 任何类型都可以具有默认成员,即在未给定任何成员名称时调用的成员。
Since interface member names are not always unique , name and dispid collisions among members can occur 由于接口成员名称并非总是唯一的,成员之间可能会出现名称和dispid的冲突。
When referring to a member of an enumeration , you must qualify the member name with the enumeration name or else use the 当引用枚举成员时,必须用枚举名称限定成员名称,否则使用
However , the name of the member in the implementing code does not have to match the member name as defined in the interface 但是,实现代码中的成员名称不必与接口中定义的成员名称匹配。
Normally , when referring to a member of an enumeration , you must qualify the member name with the enumeration name 通常,当引用枚举成员时,必须使用枚举名称限定成员名称。例如,若要引用
You can then use member names without fully qualifying the name prefxing the member name with the namespace name 然后,可以使用成员名称而不需要完全限定名称(在成员名称前加上命名空间名称) 。
The name of a member that implements an interface member can use any legal identifier , and it is not limited to the 实现接口成员的成员名称可使用任何合法标识符,不受早期visual basic版本中使用的