IComNativeDescriptorHandler 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
This interface has been deprecated. Add a TypeDescriptionProvider to handle type TypeDescriptor.ComObjectType instead. http://go.microsoft.com/fwlink/?linkid=14202
警告
This interface has been deprecated. Add a TypeDescriptionProvider to handle type TypeDescriptor.ComObjectType instead. https://go.microsoft.com/fwlink/?linkid=14202
提供 COM 物件與 TypeDescriptor之間的頂層映射層。
public interface class IComNativeDescriptorHandler
public interface IComNativeDescriptorHandler
[System.Obsolete("This interface has been deprecated. Add a TypeDescriptionProvider to handle type TypeDescriptor.ComObjectType instead. http://go.microsoft.com/fwlink/?linkid=14202")]
public interface IComNativeDescriptorHandler
[System.Obsolete("This interface has been deprecated. Add a TypeDescriptionProvider to handle type TypeDescriptor.ComObjectType instead. https://go.microsoft.com/fwlink/?linkid=14202")]
public interface IComNativeDescriptorHandler
type IComNativeDescriptorHandler = interface
[<System.Obsolete("This interface has been deprecated. Add a TypeDescriptionProvider to handle type TypeDescriptor.ComObjectType instead. http://go.microsoft.com/fwlink/?linkid=14202")>]
type IComNativeDescriptorHandler = interface
[<System.Obsolete("This interface has been deprecated. Add a TypeDescriptionProvider to handle type TypeDescriptor.ComObjectType instead. https://go.microsoft.com/fwlink/?linkid=14202")>]
type IComNativeDescriptorHandler = interface
Public Interface IComNativeDescriptorHandler
- 屬性
備註
Note
這個 API 現在已經過時了。 改用 a TypeDescriptionProvider 來處理 a ComObjectType 。
方法
| 名稱 | Description |
|---|---|
| GetAttributes(Object) |
已淘汰.
已淘汰.
取得指定元件的屬性。 |
| GetClassName(Object) |
已淘汰.
已淘汰.
取得指定元件的類別名稱。 |
| GetConverter(Object) |
已淘汰.
已淘汰.
取得指定元件的類型轉換器。 |
| GetDefaultEvent(Object) |
已淘汰.
已淘汰.
取得指定元件的預設事件。 |
| GetDefaultProperty(Object) |
已淘汰.
已淘汰.
取得該元件的預設屬性。 |
| GetEditor(Object, Type) |
已淘汰.
已淘汰.
取得指定元件的編輯器。 |
| GetEvents(Object, Attribute[]) |
已淘汰.
已淘汰.
取得指定元件中具有指定屬性的事件。 |
| GetEvents(Object) |
已淘汰.
已淘汰.
取得指定元件的事件。 |
| GetName(Object) |
已淘汰.
已淘汰.
取得指定元件的名稱。 |
| GetProperties(Object, Attribute[]) |
已淘汰.
已淘汰.
取得該元件具備指定屬性的屬性。 |
| GetPropertyValue(Object, Int32, Boolean) |
已淘汰.
已淘汰.
取得具有指定派遣識別碼的屬性值。 |
| GetPropertyValue(Object, String, Boolean) |
已淘汰.
已淘汰.
取得該屬性名稱的價值。 |