ComDefaultInterfaceAttribute Constructor (Type^)
.NET Framework (current version)
Initializes a new instance of the ComDefaultInterfaceAttribute class with the specified System::Type object as the default interface exposed to COM.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- defaultInterface
-
Type:
System::Type^
A System::Type value indicating the default interface to expose to COM.
The defaultInterface type passed to the constructor must be visible to COM.
Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Show: