using System;
using Cpp2IlInjected;
namespace System.ComponentModel
{
/// Provides a top-level mapping layer between a COM object and a .
// Token: 0x0200012E RID: 302
[Token(Token = "0x200012E")]
[Obsolete]
public interface IComNativeDescriptorHandler
{
/// Gets the attributes for the specified component.
/// The component to get attributes for.
/// A collection of attributes for .
// Token: 0x06000792 RID: 1938
[Token(Token = "0x6000792")]
[Address(Slot = "0")]
AttributeCollection GetAttributes(object component);
/// Gets the class name for the specified component.
/// The component to get the class name for.
/// The name of the class that corresponds with .
// Token: 0x06000793 RID: 1939
[Token(Token = "0x6000793")]
[Address(Slot = "1")]
string GetClassName(object component);
/// Gets the type converter for the specified component.
/// The component to get the for.
/// The for .
// Token: 0x06000794 RID: 1940
[Token(Token = "0x6000794")]
[Address(Slot = "2")]
TypeConverter GetConverter(object component);
/// Gets the default event for the specified component.
/// The component to get the default event for.
/// An that represents 's default event.
// Token: 0x06000795 RID: 1941
[Token(Token = "0x6000795")]
[Address(Slot = "3")]
EventDescriptor GetDefaultEvent(object component);
/// Gets the default property for the specified component.
/// The component to get the default property for.
/// A that represents 's default property.
// Token: 0x06000796 RID: 1942
[Token(Token = "0x6000796")]
[Address(Slot = "4")]
PropertyDescriptor GetDefaultProperty(object component);
/// Gets the editor for the specified component.
/// The component to get the editor for.
/// The base type of the editor for .
/// The editor for .
// Token: 0x06000797 RID: 1943
[Token(Token = "0x6000797")]
[Address(Slot = "5")]
object GetEditor(object component, Type baseEditorType);
/// Gets the name of the specified component.
/// The component to get the name of.
/// The name of .
// Token: 0x06000798 RID: 1944
[Token(Token = "0x6000798")]
[Address(Slot = "6")]
string GetName(object component);
/// Gets the events for the specified component.
/// The component to get events for.
/// A collection of event descriptors for .
// Token: 0x06000799 RID: 1945
[Token(Token = "0x6000799")]
[Address(Slot = "7")]
EventDescriptorCollection GetEvents(object component);
/// Gets the events with the specified attributes for the specified component.
/// The component to get events for.
/// The attributes used to filter events.
/// A collection of event descriptors for .
// Token: 0x0600079A RID: 1946
[Token(Token = "0x600079A")]
[Address(Slot = "8")]
EventDescriptorCollection GetEvents(object component, Attribute[] attributes);
/// Gets the properties with the specified attributes for the specified component.
/// The component to get events for.
/// The attributes used to filter properties.
/// A collection of property descriptors for .
// Token: 0x0600079B RID: 1947
[Token(Token = "0x600079B")]
[Address(Slot = "9")]
PropertyDescriptorCollection GetProperties(object component, Attribute[] attributes);
/// Gets the value of the property that has the specified name.
/// The object to which the property belongs.
/// The name of the property.
/// A , passed by reference, that represents whether the property was retrieved.
/// The value of the property that has the specified name.
// Token: 0x0600079C RID: 1948
[Token(Token = "0x600079C")]
[Address(Slot = "10")]
object GetPropertyValue(object component, string propertyName, ref bool success);
/// Gets the value of the property that has the specified dispatch identifier.
/// The object to which the property belongs.
/// The dispatch identifier.
/// A , passed by reference, that represents whether the property was retrieved.
/// The value of the property that has the specified dispatch identifier.
// Token: 0x0600079D RID: 1949
[Token(Token = "0x600079D")]
[Address(Slot = "11")]
object GetPropertyValue(object component, int dispid, ref bool success);
}
}