InheritedExportAttribute コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
InheritedExportAttribute クラスの新しいインスタンスを初期化します。
オーバーロード
| 名前 | 説明 |
|---|---|
| InheritedExportAttribute() |
InheritedExportAttribute クラスの新しいインスタンスを初期化します。 |
| InheritedExportAttribute(String) |
指定したコントラクト名を使用して、 InheritedExportAttribute クラスの新しいインスタンスを初期化します。 |
| InheritedExportAttribute(Type) |
指定したコントラクト型を使用して、 InheritedExportAttribute クラスの新しいインスタンスを初期化します。 |
| InheritedExportAttribute(String, Type) |
指定したコントラクト名と型を使用して、 InheritedExportAttribute クラスの新しいインスタンスを初期化します。 |
InheritedExportAttribute()
InheritedExportAttribute クラスの新しいインスタンスを初期化します。
public:
InheritedExportAttribute();
public InheritedExportAttribute();
Public Sub New ()
注釈
既定のコントラクト名は、この属性でマークされている型自体で AttributedModelServices.GetContractName(Type) を呼び出した結果です。
コントラクト名は、大文字と小文字が区別され、 StringComparer.Ordinalを使用して言語以外の比較を使用して比較されます。
適用対象
InheritedExportAttribute(String)
指定したコントラクト名を使用して、 InheritedExportAttribute クラスの新しいインスタンスを初期化します。
public:
InheritedExportAttribute(System::String ^ contractName);
public InheritedExportAttribute(string? contractName);
public InheritedExportAttribute(string contractName);
new System.ComponentModel.Composition.InheritedExportAttribute : string -> System.ComponentModel.Composition.InheritedExportAttribute
Public Sub New (contractName As String)
パラメーター
- contractName
- String
コントラクトの名前。
注釈
既定のコントラクト名は、この属性でマークされている型自体で AttributedModelServices.GetContractName(Type) を呼び出した結果です。
コントラクト名は、大文字と小文字が区別され、 StringComparer.Ordinalを使用して言語以外の比較を使用して比較されます。
適用対象
InheritedExportAttribute(Type)
指定したコントラクト型を使用して、 InheritedExportAttribute クラスの新しいインスタンスを初期化します。
public:
InheritedExportAttribute(Type ^ contractType);
public InheritedExportAttribute(Type? contractType);
public InheritedExportAttribute(Type contractType);
new System.ComponentModel.Composition.InheritedExportAttribute : Type -> System.ComponentModel.Composition.InheritedExportAttribute
Public Sub New (contractType As Type)
パラメーター
- contractType
- Type
コントラクトの型。
注釈
コントラクト名は、AttributedModelServices.GetContractName(Type)でcontractTypeを呼び出した結果です。
既定のコントラクト名は、この属性でマークされている型自体で AttributedModelServices.GetContractName(Type) を呼び出した結果です。
コントラクト名は、大文字と小文字が区別され、 StringComparer.Ordinalを使用して言語以外の比較を使用して比較されます。
適用対象
InheritedExportAttribute(String, Type)
指定したコントラクト名と型を使用して、 InheritedExportAttribute クラスの新しいインスタンスを初期化します。
public:
InheritedExportAttribute(System::String ^ contractName, Type ^ contractType);
public InheritedExportAttribute(string? contractName, Type? contractType);
public InheritedExportAttribute(string contractName, Type contractType);
new System.ComponentModel.Composition.InheritedExportAttribute : string * Type -> System.ComponentModel.Composition.InheritedExportAttribute
Public Sub New (contractName As String, contractType As Type)
パラメーター
- contractName
- String
コントラクトの名前。
- contractType
- Type
コントラクトの型。
注釈
既定のコントラクト名は、この属性でマークされている型自体で AttributedModelServices.GetContractName(Type) を呼び出した結果です。
コントラクト名は、大文字と小文字が区別され、 StringComparer.Ordinalを使用して言語以外の比較を使用して比較されます。