Files
2026-06-04 11:42:34 +02:00

55 lines
2.2 KiB
C#

using System;
namespace System.ComponentModel
{
/// <summary>Top level mapping layer between a COM object and TypeDescriptor.</summary>
// Token: 0x02000087 RID: 135
[Obsolete("Use TypeDescriptionProvider and TypeDescriptor.ComObjectType instead")]
public interface IComNativeDescriptorHandler
{
// Token: 0x060004C9 RID: 1225
AttributeCollection GetAttributes(object component);
// Token: 0x060004CA RID: 1226
string GetClassName(object component);
// Token: 0x060004CB RID: 1227
TypeConverter GetConverter(object component);
// Token: 0x060004CC RID: 1228
EventDescriptor GetDefaultEvent(object component);
// Token: 0x060004CD RID: 1229
PropertyDescriptor GetDefaultProperty(object component);
// Token: 0x060004CE RID: 1230
object GetEditor(object component, Type baseEditorType);
// Token: 0x060004CF RID: 1231
EventDescriptorCollection GetEvents(object component);
// Token: 0x060004D0 RID: 1232
EventDescriptorCollection GetEvents(object component, Attribute[] attributes);
// Token: 0x060004D1 RID: 1233
string GetName(object component);
// Token: 0x060004D2 RID: 1234
PropertyDescriptorCollection GetProperties(object component, Attribute[] attributes);
/// <summary>Retrieves the value of the property that has the specified dispatch identifier.</summary>
/// <param name="component">The object to which the property belongs.</param>
/// <param name="dispid">The dispatch identifier.</param>
/// <param name="success">A <see cref="T:System.Boolean" />, passed by reference, that represents whether or not the property was retrieved. </param>
// Token: 0x060004D3 RID: 1235
object GetPropertyValue(object component, int dispid, ref bool success);
/// <summary>Retrieves the value of the property that has the specified name.</summary>
/// <param name="component">The object to which the property belongs.</param>
/// <param name="propertyName">The name of the property.</param>
/// <param name="success">A <see cref="T:System.Boolean" />, passed by reference, that represents whether or not the property was retrieved. </param>
// Token: 0x060004D4 RID: 1236
object GetPropertyValue(object component, string propertyName, ref bool success);
}
}