ComSourceInterfacesAttribute Constructor (Type)


Initializes a new instance of the ComSourceInterfacesAttribute class with the type to use as a source interface.

Namespace:   System.Runtime.InteropServices
Assembly:  mscorlib (in mscorlib.dll)

Public Sub New (
	sourceInterface As Type


Type: System.Type

The Type of the source interface.

Use this constructor to expose a single event source interface to COM clients.

Universal Windows Platform
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top