CodeTypeParameter.HasConstructorConstraint プロパティ
アセンブリ: System (system.dll 内)

Dim instance As CodeTypeParameter Dim value As Boolean value = instance.HasConstructorConstraint instance.HasConstructorConstraint = value
/** @property */ public boolean get_HasConstructorConstraint () /** @property */ public void set_HasConstructorConstraint (boolean value)
public function get HasConstructorConstraint () : boolean public function set HasConstructorConstraint (value : boolean)
型パラメータにコンストラクタの制約が設定されている場合は true。それ以外の場合は false。既定値は false です。


HasConstructorConstraint プロパティを使用して型パラメータにコンストラクタの制約が設定されているかどうかを判断する方法を、次のコード例に示します。このコード例は、CodeTypeParameter クラスのトピックで取り上げているコード例の一部分です。
kType.HasConstructorConstraint = True

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からCodeTypeParameter.HasConstructorConstraint プロパティを検索する場合は、下記のリンクをクリックしてください。

- CodeTypeParameter.HasConstructorConstraint プロパティのページへのリンク