AttributeUsageAttribute.Inherited プロパティ

制御対象とする属性を派生クラスまたはオーバーライドするメンバが継承できるかどうかを示すブール値を取得または設定します。

Public Property Inherited As Boolean
[C#]
public bool Inherited {get; set;}
[C++]
public: __property bool get_Inherited();public: __property void set_Inherited(bool);
[JScript]
public function get Inherited() : Boolean;public function set Inherited(Boolean);

プロパティ値

派生クラスまたはオーバーライドするメンバがその属性を継承できる場合は true 。それ以外の場合は false 。既定値は true です。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ, .NET Compact Framework - Windows CE .NET, Common Language Infrastructure (CLI) Standard

参照

AttributeUsageAttribute クラス | AttributeUsageAttribute メンバ | System 名前空間 | Attribute