CustomTypeDescriptor 類別
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
提供 ICustomTypeDescriptor 介面的簡單預設實作。
public ref class CustomTypeDescriptor abstract : System::ComponentModel::ICustomTypeDescriptor
public abstract class CustomTypeDescriptor : System.ComponentModel.ICustomTypeDescriptor
type CustomTypeDescriptor = class
interface ICustomTypeDescriptor
Public MustInherit Class CustomTypeDescriptor
Implements ICustomTypeDescriptor
- 繼承
-
CustomTypeDescriptor
- 衍生
- 實作
如同 TypeDescriptionProvider,CustomTypeDescriptor 類別依賴建構期間所提供 ICustomTypeDescriptor 類型的父物件。 這可讓衍生自 CustomTypeDescriptor 的類別選擇性地覆寫方法。
Custom |
初始化 CustomTypeDescriptor 類別的新實例。 |
Custom |
使用父自定義型別描述元,初始化 CustomTypeDescriptor 類別的新實例。 |
Require |
取得值,這個值表示型別是否需要透過 RegisterType<T>()註冊。 |
Equals(Object) |
判斷指定的物件是否等於目前的物件。 (繼承來源 Object) |
Get |
傳回這個型別描述元所表示之型別的自定義屬性集合。 |
Get |
傳回這個型別描述元所表示之類別的完整名稱。 |
Get |
傳回這個型別描述元所表示之類別的名稱。 |
Get |
傳回這個型別描述元所表示之型別的型別轉換子。 |
Get |
傳回此型別的型別轉換子 描述項正在表示。 |
Get |
傳回這個型別描述元所表示之物件之預設事件的事件描述元。 |
Get |
傳回這個型別描述元所表示之物件之預設屬性的屬性描述元。 |
Get |
傳回指定型別的編輯器,這個編輯器與這個型別描述元所表示的類別相關聯。 |
Get |
傳回這個型別描述元所表示之物件的事件描述元集合。 |
Get |
傳回這個型別描述元所表示之物件的已篩選事件描述元集合。 |
Get |
傳回事件描述元的集合 表示這個型別描述元的物件。 |
Get |
做為預設哈希函式。 (繼承來源 Object) |
Get |
傳回這個型別描述元所表示之對象的屬性描述元集合。 |
Get |
傳回這個型別描述元所表示之物件的已篩選屬性描述元集合。 |
Get |
傳回屬性描述元的集合 表示這個型別描述元的物件。 |
Get |
傳回 物件,其中包含指定之屬性描述項所描述的屬性。 |
Get |
取得目前實例的 Type。 (繼承來源 Object) |
Memberwise |
建立目前 Object的淺層複本。 (繼承來源 Object) |
To |
傳回表示目前 物件的字串。 (繼承來源 Object) |
產品 | 版本 |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |