DefaultInterfaceAttribute Constructor
Collapse the table of content
Expand the table of content

DefaultInterfaceAttribute Constructor

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft