Export (0) Print
Expand All

ComSourceInterfacesAttribute Constructor (Type, Type)

Initializes a new instance of the ComSourceInterfacesAttribute class with the types to use as source interfaces.

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

'Declaration
Public Sub New ( _
	sourceInterface1 As Type, _
	sourceInterface2 As Type _
)

Parameters

sourceInterface1
Type: System.Type

The Type of the default source interface.

sourceInterface2
Type: System.Type

The Type of a source interface.

Use this constructor to expose two event source interfaces to COM clients.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Portable Class Library

Supported in: Portable Class Library

Supported in: Windows Phone 8.1
Show:
© 2015 Microsoft