Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
interface System.​ComponentModel.​IComNativeDescriptorHandler
Assembly: System.ComponentModel.TypeConverter
Provides a top-level mapping layer between a COM object and a <see cref="T:System.ComponentModel.TypeDescriptor" /> .
Methods
GetAttributes​(object component)
Gets the attributes for the specified component.
Returns A collection of attributes for <paramref name="component" /> .
component
The component to get attributes for.
string
GetClassName​(object component)
Gets the class name for the specified component.
Returns The name of the class that corresponds with <paramref name="component" /> .
component
The component to get the class name for.
GetConverter​(object component)
Gets the type converter for the specified component.
Returns The <see cref="T:System.ComponentModel.TypeConverter" /> for <paramref name="component" /> .
component
The component to get the <see cref="T:System.ComponentModel.TypeConverter" /> for.
GetDefaultEvent​(object component)
Gets the default event for the specified component.
Returns An <see cref="T:System.ComponentModel.EventDescriptor" /> that represents <paramref name="component" /> 's default event.
component
The component to get the default event for.
GetDefaultProperty​(object component)
Gets the default property for the specified component.
Returns A <see cref="T:System.ComponentModel.PropertyDescriptor" /> that represents <paramref name="component" /> 's default property.
component
The component to get the default property for.
object
GetEditor​(object component,
Type baseEditorType)
Gets the editor for the specified component.
Returns The editor for <paramref name="component" /> .
component
The component to get the editor for.
baseEditorType
The base type of the editor for <paramref name="component" /> .
GetEvents​(object component)
Gets the events for the specified component.
Returns A collection of event descriptors for <paramref name="component" /> .
component
The component to get events for.
GetEvents​(object component,
Attribute[] attributes)
Gets the events with the specified attributes for the specified component.
Returns A collection of event descriptors for <paramref name="component" /> .
component
The component to get events for.
attributes
The attributes used to filter events.
string
GetName​(object component)
Gets the name of the specified component.
Returns The name of <paramref name="component" /> .
component
The component to get the name of.
GetProperties​(object component,
Attribute[] attributes)
Gets the properties with the specified attributes for the specified component.
Returns A collection of property descriptors for <paramref name="component" /> .
component
The component to get events for.
attributes
The attributes used to filter properties.