TypeDelegator.IsDefined メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > TypeDelegator.IsDefined メソッドの意味・解説 

TypeDelegator.IsDefined メソッド

attributeType識別されるカスタム属性定義されているかどうか示します

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

Public Overrides Function
 IsDefined ( _
    attributeType As Type, _
    inherit As Boolean _
) As Boolean
Dim instance As TypeDelegator
Dim attributeType As Type
Dim inherit As Boolean
Dim returnValue As Boolean

returnValue = instance.IsDefined(attributeType, inherit)
public override bool IsDefined (
    Type attributeType,
    bool inherit
)
public:
virtual bool IsDefined (
    Type^ attributeType, 
    bool inherit
) override
public boolean IsDefined (
    Type attributeType, 
    boolean inherit
)
public override function IsDefined (
    attributeType : Type, 
    inherit : boolean
) : boolean

パラメータ

attributeType

この型の継承チェイン検索して属性を見つけるかどうか指定します

inherit

型により識別されるカスタム属性配列

戻り値
attributeType識別されるカスタム属性定義されている場合trueそれ以外場合false

例外例外
例外種類条件

ArgumentException

attributeTypenull 参照 (Visual Basic では Nothing) です。

ReflectionTypeLoadException

カスタム属性の型を読み込むことができません。

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照


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

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

辞書ショートカット

すべての辞書の索引

TypeDelegator.IsDefined メソッドのお隣キーワード
検索ランキング

   

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



TypeDelegator.IsDefined メソッドのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS