Edit

Share via


IComNativeDescriptorHandler Interface

Definition

Caution

IComNativeDescriptorHandler has been deprecated. Add a TypeDescriptionProvider to handle type TypeDescriptor.ComObjectType instead.

Caution

This interface has been deprecated. Add a TypeDescriptionProvider to handle type TypeDescriptor.ComObjectType instead. https://go.microsoft.com/fwlink/?linkid=14202

Caution

This interface has been deprecated. Add a TypeDescriptionProvider to handle type TypeDescriptor.ComObjectType instead. http://go.microsoft.com/fwlink/?linkid=14202

Caution

This interface has been deprecated. Add a TypeDescriptionProvider to handle type TypeDescriptor.ComObjectType instead. https://go.microsoft.com/fwlink/?linkid=14202

Provides a top-level mapping layer between a COM object and a TypeDescriptor.

C#
[System.Obsolete("IComNativeDescriptorHandler has been deprecated. Add a TypeDescriptionProvider to handle type TypeDescriptor.ComObjectType instead.")]
public interface IComNativeDescriptorHandler
C#
[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
C#
public interface IComNativeDescriptorHandler
C#
[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
C#
[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
Attributes

Remarks

Note

This API is now obsolete. Add a TypeDescriptionProvider to handle a ComObjectType instead.

Methods

GetAttributes(Object)

Gets the attributes for the specified component.

GetClassName(Object)

Gets the class name for the specified component.

GetConverter(Object)

Gets the type converter for the specified component.

GetDefaultEvent(Object)

Gets the default event for the specified component.

GetDefaultProperty(Object)

Gets the default property for the specified component.

GetEditor(Object, Type)

Gets the editor for the specified component.

GetEvents(Object, Attribute[])

Gets the events with the specified attributes for the specified component.

GetEvents(Object)

Gets the events for the specified component.

GetName(Object)

Gets the name of the specified component.

GetProperties(Object, Attribute[])

Gets the properties with the specified attributes for the specified component.

GetPropertyValue(Object, Int32, Boolean)

Gets the value of the property that has the specified dispatch identifier.

GetPropertyValue(Object, String, Boolean)

Gets the value of the property that has the specified name.

Applies to

Product Versions (Obsolete)
.NET 6 (Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 7, 8, 9, 10)
.NET Framework 1.1 (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)