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.cs
ソース:
ComSourceInterfacesAttribute.cs
ソース:
ComSourceInterfacesAttribute.cs
ソース:
ComSourceInterfacesAttribute.cs
ソース:
ComSourceInterfacesAttribute.cs

イベント ソース インターフェイスの名前を使用して、 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.cs
ソース:
ComSourceInterfacesAttribute.cs
ソース:
ComSourceInterfacesAttribute.cs
ソース:
ComSourceInterfacesAttribute.cs
ソース:
ComSourceInterfacesAttribute.cs

ソース インターフェイスとして使用する型を使用して、 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

注釈

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

適用対象

ComSourceInterfacesAttribute(Type, Type)

ソース:
ComSourceInterfacesAttribute.cs
ソース:
ComSourceInterfacesAttribute.cs
ソース:
ComSourceInterfacesAttribute.cs
ソース:
ComSourceInterfacesAttribute.cs
ソース:
ComSourceInterfacesAttribute.cs

ソース インターフェイスとして使用する型を使用して、 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.cs
ソース:
ComSourceInterfacesAttribute.cs
ソース:
ComSourceInterfacesAttribute.cs
ソース:
ComSourceInterfacesAttribute.cs
ソース:
ComSourceInterfacesAttribute.cs

ソース インターフェイスとして使用する型を使用して、 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.cs
ソース:
ComSourceInterfacesAttribute.cs
ソース:
ComSourceInterfacesAttribute.cs
ソース:
ComSourceInterfacesAttribute.cs
ソース:
ComSourceInterfacesAttribute.cs

ソース インターフェイスとして使用する型を使用して、 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 つのイベント ソース インターフェイスを公開します。

適用対象