InheritanceAttribute.Default 欄位

定義

指定 InheritanceAttribute 的預設值為 NotInheritedSpecifies that the default value for InheritanceAttribute is NotInherited. 此欄位為唯讀。This field is read-only.

public: static initonly System::ComponentModel::InheritanceAttribute ^ Default;
public static readonly System.ComponentModel.InheritanceAttribute Default;
 staticval mutable Default : System.ComponentModel.InheritanceAttribute
Public Shared ReadOnly Default As InheritanceAttribute 

欄位值

備註

這個欄位會建立新的 InheritanceAttribute,指出相關聯的元件不會被繼承。This field creates a new InheritanceAttribute that indicates that the associated component is not inherited.

適用於