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

該屬性所套用的類別預設介面類型。

適用於