//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//------------------------------------------------------------------------------
namespace System.ComponentModel {
using Microsoft.Win32;
using System;
using System.Diagnostics;
///
///
///
/// Top level mapping layer between a COM object and TypeDescriptor.
///
///
[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 {
///
/// [To be supplied.]
///
AttributeCollection GetAttributes(object component);
///
/// [To be supplied.]
///
string GetClassName(object component);
///
/// [To be supplied.]
///
TypeConverter GetConverter(object component);
///
/// [To be supplied.]
///
EventDescriptor GetDefaultEvent(object component);
///
/// [To be supplied.]
///
PropertyDescriptor GetDefaultProperty(object component);
///
/// [To be supplied.]
///
object GetEditor(object component, Type baseEditorType);
///
/// [To be supplied.]
///
string GetName(object component);
///
/// [To be supplied.]
///
EventDescriptorCollection GetEvents(object component);
///
/// [To be supplied.]
///
EventDescriptorCollection GetEvents(object component, Attribute[] attributes);
///
/// [To be supplied.]
///
PropertyDescriptorCollection GetProperties(object component, Attribute[] attributes);
///
/// [To be supplied.]
///
object GetPropertyValue(object component, string propertyName, ref bool success);
///
/// [To be supplied.]
///
object GetPropertyValue(object component, int dispid, ref bool success);
}
}