Share via


DefaultInterfaceAttribute(Type) 建構函式

定義

初始化 DefaultInterfaceAttribute 類別的新執行個體。

public:
 DefaultInterfaceAttribute(Type ^ defaultInterface);
public DefaultInterfaceAttribute (Type defaultInterface);
new System.Runtime.InteropServices.WindowsRuntime.DefaultInterfaceAttribute : Type -> System.Runtime.InteropServices.WindowsRuntime.DefaultInterfaceAttribute
Public Sub New (defaultInterface As Type)

參數

defaultInterface
Type

介面型別,該介面型別會指定為套用屬性之類別的預設介面。

適用於