共用方式為


ComClassAttribute.InterfaceShadows Property 

Indicates that the COM interface name shadows another member of the class or base class.

Public Property InterfaceShadows As Boolean

Return Value

A Boolean value that indicates that the COM interface name shadows another member of the class or base class.

Remarks

Shadowing is when a member uses the same name as another member.

Requirements

Namespace: Microsoft.VisualBasic

Class: ComClassAttribute

Assembly: Visual Basic Runtime Library (in Microsoft.VisualBasic.dll)

See Also

Reference

ComClassAttribute Class
System.Runtime.InteropServices

Concepts

Shadowing in Visual Basic
Attributes Used in Visual Basic

Other Resources

Attributes in Visual Basic