DefaultInterfaceAttribute Constructor

.NET Framework 4.5

Initializes a new instance of the DefaultInterfaceAttribute class.

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

public DefaultInterfaceAttribute(
	Type defaultInterface
)

Parameters

defaultInterface
Type: System.Type

The interface type that is specified as the default interface for the class the attribute is applied to.

.NET Framework

Supported in: 4.6, 4.5

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft