ITypeDescriptorContext.Instance Property
.NET Framework 4
Gets the object that is connected with this type descriptor request.
Assembly: System (in System.dll)
Property Value
Type: System.ObjectThe object that invokes the method on the TypeDescriptor; otherwise, null if there is no object responsible for the call.
The Instance property gets the object that is invoking the ITypeDescriptorContext interface. For example, if a type converter is given a Color to convert, Instance returns the actual instance of the control that is using the Color. You can subsequently query the control for further information about its services and its Container.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.