ComSourceInterfacesAttribute コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
ComSourceInterfacesAttribute クラスの新しいインスタンスを初期化します。
オーバーロード
| 名前 | 説明 |
|---|---|
| ComSourceInterfacesAttribute(String) |
イベント ソース インターフェイスの名前を使用して、 ComSourceInterfacesAttribute クラスの新しいインスタンスを初期化します。 |
| ComSourceInterfacesAttribute(Type) |
ソース インターフェイスとして使用する型を使用して、 ComSourceInterfacesAttribute クラスの新しいインスタンスを初期化します。 |
| ComSourceInterfacesAttribute(Type, Type) |
ソース インターフェイスとして使用する型を使用して、 ComSourceInterfacesAttribute クラスの新しいインスタンスを初期化します。 |
| ComSourceInterfacesAttribute(Type, Type, Type) |
ソース インターフェイスとして使用する型を使用して、 |
| 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)
パラメーター
注釈
このコンストラクターを使用して、単一のイベント ソース インターフェイスを 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)
パラメーター
注釈
このコンストラクターを使用して、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)
パラメーター
注釈
このコンストラクターを使用して、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)
パラメーター
注釈
このコンストラクターを使用して、COM クライアントに 4 つのイベント ソース インターフェイスを公開します。