ComSourceInterfacesAttribute コンストラクター

定義

ComSourceInterfacesAttribute クラスの新しいインスタンスを初期化します。

オーバーロード

ComSourceInterfacesAttribute(String)

イベント ソース インターフェイスの名前を指定して、ComSourceInterfacesAttribute クラスの新しいインスタンスを初期化します。

ComSourceInterfacesAttribute(Type)

ソース インターフェイスとして使用する型を指定して、ComSourceInterfacesAttribute クラスの新しいインスタンスを初期化します。

ComSourceInterfacesAttribute(Type, Type)

ソース インターフェイスとして使用する型を指定して、ComSourceInterfacesAttribute クラスの新しいインスタンスを初期化します。

ComSourceInterfacesAttribute(Type, Type, Type)

ソース インターフェイスとして使用する型を指定して、ComSourceInterfacesAttribute クラスの新しいインスタンスを初期化します。

ComSourceInterfacesAttribute(Type, Type, Type, Type)

ソース インターフェイスとして使用する型を指定して、ComSourceInterfacesAttribute クラスの新しいインスタンスを初期化します。

ComSourceInterfacesAttribute(String)

イベント ソース インターフェイスの名前を指定して、ComSourceInterfacesAttribute クラスの新しいインスタンスを初期化します。

public:
 ComSourceInterfacesAttribute(System::String ^ sourceInterfaces);
public ComSourceInterfacesAttribute (string sourceInterfaces);
new System.Runtime.InteropServices.ComSourceInterfacesAttribute : string -> System.Runtime.InteropServices.ComSourceInterfacesAttribute
Public Sub New (sourceInterfaces As String)

パラメーター

sourceInterfaces
String

イベント ソース インターフェイスの完全修飾名の null 区切りリスト。

注釈

このコンストラクターを使用して、4 つ以上のイベント ソース インターフェイスを COM クライアントに公開します。

適用対象

ComSourceInterfacesAttribute(Type)

ソース インターフェイスとして使用する型を指定して、ComSourceInterfacesAttribute クラスの新しいインスタンスを初期化します。

public:
 ComSourceInterfacesAttribute(Type ^ sourceInterface);
public ComSourceInterfacesAttribute (Type sourceInterface);
new System.Runtime.InteropServices.ComSourceInterfacesAttribute : Type -> System.Runtime.InteropServices.ComSourceInterfacesAttribute
Public Sub New (sourceInterface As Type)

パラメーター

sourceInterface
Type

ソース インターフェイスの Type

注釈

このコンストラクターを使用して、1 つのイベント ソース インターフェイスを COM クライアントに公開します。

適用対象

ComSourceInterfacesAttribute(Type, Type)

ソース インターフェイスとして使用する型を指定して、ComSourceInterfacesAttribute クラスの新しいインスタンスを初期化します。

public:
 ComSourceInterfacesAttribute(Type ^ sourceInterface1, Type ^ sourceInterface2);
public ComSourceInterfacesAttribute (Type sourceInterface1, Type sourceInterface2);
new System.Runtime.InteropServices.ComSourceInterfacesAttribute : Type * Type -> System.Runtime.InteropServices.ComSourceInterfacesAttribute
Public Sub New (sourceInterface1 As Type, sourceInterface2 As Type)

パラメーター

sourceInterface1
Type

既定のソース インターフェイスの Type

sourceInterface2
Type

ソース インターフェイスの Type

注釈

このコンストラクターを使用して、2 つのイベント ソース インターフェイスを COM クライアントに公開します。

適用対象

ComSourceInterfacesAttribute(Type, Type, Type)

ソース インターフェイスとして使用する型を指定して、ComSourceInterfacesAttribute クラスの新しいインスタンスを初期化します。

public:
 ComSourceInterfacesAttribute(Type ^ sourceInterface1, Type ^ sourceInterface2, Type ^ sourceInterface3);
public ComSourceInterfacesAttribute (Type sourceInterface1, Type sourceInterface2, Type sourceInterface3);
new System.Runtime.InteropServices.ComSourceInterfacesAttribute : Type * Type * Type -> System.Runtime.InteropServices.ComSourceInterfacesAttribute
Public Sub New (sourceInterface1 As Type, sourceInterface2 As Type, sourceInterface3 As Type)

パラメーター

sourceInterface1
Type

既定のソース インターフェイスの Type

sourceInterface2
Type

ソース インターフェイスの Type

sourceInterface3
Type

ソース インターフェイスの Type

注釈

このコンストラクターを使用して、3 つのイベント ソース インターフェイスを COM クライアントに公開します。

適用対象

ComSourceInterfacesAttribute(Type, Type, Type, Type)

ソース インターフェイスとして使用する型を指定して、ComSourceInterfacesAttribute クラスの新しいインスタンスを初期化します。

public:
 ComSourceInterfacesAttribute(Type ^ sourceInterface1, Type ^ sourceInterface2, Type ^ sourceInterface3, Type ^ sourceInterface4);
public ComSourceInterfacesAttribute (Type sourceInterface1, Type sourceInterface2, Type sourceInterface3, Type sourceInterface4);
new System.Runtime.InteropServices.ComSourceInterfacesAttribute : Type * Type * Type * Type -> System.Runtime.InteropServices.ComSourceInterfacesAttribute
Public Sub New (sourceInterface1 As Type, sourceInterface2 As Type, sourceInterface3 As Type, sourceInterface4 As Type)

パラメーター

sourceInterface1
Type

既定のソース インターフェイスの Type

sourceInterface2
Type

ソース インターフェイスの Type

sourceInterface3
Type

ソース インターフェイスの Type

sourceInterface4
Type

ソース インターフェイスの Type

注釈

このコンストラクターを使用して、COM クライアントに 4 つのイベント ソース インターフェイスを公開します。

適用対象