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

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

IInheritanceService.GetInheritanceAttribute メソッド

指定したコンポーネントの継承属性を取得します。

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

Function GetInheritanceAttribute ( _
    component As IComponent _
) As InheritanceAttribute
Dim instance As IInheritanceService
Dim component As IComponent
Dim returnValue As InheritanceAttribute

returnValue = instance.GetInheritanceAttribute(component)
InheritanceAttribute GetInheritanceAttribute (
    IComponent component
)
InheritanceAttribute^ GetInheritanceAttribute (
    IComponent^ component
)
InheritanceAttribute GetInheritanceAttribute (
    IComponent component
)
function GetInheritanceAttribute (
    component : IComponent
) : InheritanceAttribute

パラメータ

component

継承属性の取得対象となる IComponent。

戻り値
指定したコンポーネントの継承レベルが記述された InheritanceAttribute のインスタンス。

解説解説

コンポーネントが AddInheritedComponents メソッドでプロファイリングされた場合、このメソッドは値 InheritanceAttribute.NotInherited を返します。それ以外の場合は、このコンポーネントの継承属性を返します。

指定したコンポーネントの継承レベルをリフレクションする InheritanceAttribute を取得する前に、指定したコンポーネントまたは指定したコンポーネントの親で AddInheritedComponents を呼び出す必要があります。

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
IInheritanceService インターフェイス
IInheritanceService メンバ
System.ComponentModel.Design 名前空間
InheritanceAttribute クラス



英和和英テキスト翻訳

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

辞書ショートカット

すべての辞書の索引

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

   

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



IInheritanceService.GetInheritanceAttribute メソッドのページの著作権

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

©2026 GRAS Group, Inc.RSS