using System; using Cpp2IlInjected; namespace System.ComponentModel { /// Provides a top-level mapping layer between a COM object and a . // Token: 0x02000132 RID: 306 [Token(Token = "0x2000132")] [Obsolete] public interface IComNativeDescriptorHandler { /// Gets the attributes for the specified component. /// The component to get attributes for. /// A collection of attributes for . // Token: 0x060007A8 RID: 1960 [Token(Token = "0x60007A8")] [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: 0x060007A9 RID: 1961 [Token(Token = "0x60007A9")] [Address(Slot = "1")] string GetClassName(object component); /// Gets the type converter for the specified component. /// The component to get the for. /// The for . // Token: 0x060007AA RID: 1962 [Token(Token = "0x60007AA")] [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: 0x060007AB RID: 1963 [Token(Token = "0x60007AB")] [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: 0x060007AC RID: 1964 [Token(Token = "0x60007AC")] [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: 0x060007AD RID: 1965 [Token(Token = "0x60007AD")] [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: 0x060007AE RID: 1966 [Token(Token = "0x60007AE")] [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: 0x060007AF RID: 1967 [Token(Token = "0x60007AF")] [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: 0x060007B0 RID: 1968 [Token(Token = "0x60007B0")] [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: 0x060007B1 RID: 1969 [Token(Token = "0x60007B1")] [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: 0x060007B2 RID: 1970 [Token(Token = "0x60007B2")] [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: 0x060007B3 RID: 1971 [Token(Token = "0x60007B3")] [Address(Slot = "11")] object GetPropertyValue(object component, int dispid, ref bool success); } }