CodeTypeParameter.HasConstructorConstraint プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > CodeTypeParameter.HasConstructorConstraint プロパティの意味・解説 

CodeTypeParameter.HasConstructorConstraint プロパティ

メモ : このプロパティは、.NET Framework version 2.0新しく追加されたものです。

型パラメータコンストラクタ制約があるかどうかを表す値を取得または設定します

名前空間: System.CodeDom
アセンブリ: System (system.dll 内)
構文構文

Public Property HasConstructorConstraint As
 Boolean
Dim instance As CodeTypeParameter
Dim value As Boolean

value = instance.HasConstructorConstraint

instance.HasConstructorConstraint = value
public bool HasConstructorConstraint { get;
 set; }
public:
property bool HasConstructorConstraint {
    bool get ();
    void set (bool 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
kType.HasConstructorConstraint = true;
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
CodeTypeParameter クラス
CodeTypeParameter メンバ
System.CodeDom 名前空間


このページでは「.NET Framework クラス ライブラリ リファレンス」からCodeTypeParameter.HasConstructorConstraint プロパティを検索した結果を表示しています。
Weblioに収録されているすべての辞書からCodeTypeParameter.HasConstructorConstraint プロパティを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からCodeTypeParameter.HasConstructorConstraint プロパティ を検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

CodeTypeParameter.HasConstructorConstraint プロパティのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



CodeTypeParameter.HasConstructorConstraint プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS