InstanceCreationEditor 類別

定義

PropertyGrid 中的下拉式方塊,建立屬性特定型別的執行個體。

public ref class InstanceCreationEditor abstract
public abstract class InstanceCreationEditor
type InstanceCreationEditor = class
Public MustInherit Class InstanceCreationEditor
繼承
InstanceCreationEditor

備註

通常,指定的 Text 文字會顯示在下拉式方塊上,做 PropertyGrid 為連結或按鈕。 按兩下時, CreateInstance 會使用 Type 要建立之物件的呼叫 方法。

建構函式

InstanceCreationEditor()

初始化 InstanceCreationEditor 類別的新執行個體。

屬性

Text

取得指定的文字。

方法

CreateInstance(ITypeDescriptorContext, Type)

在衍生類別中覆寫時,傳回指定型別的執行個體。

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

適用於