DefaultInterfaceAttribute Constructor (Type)

.NET Framework (current version)
 

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.

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