﻿<?xml version="1.0" encoding="utf-8"?><Type Name="ObjectCreationDelegate" FullName="System.Runtime.InteropServices.ObjectCreationDelegate"><TypeSignature Maintainer="auto" Language="C#" Value="public delegate IntPtr ObjectCreationDelegate(IntPtr aggregator);" /><TypeSignature Language="ILAsm" Value=".class public auto ansi sealed ObjectCreationDelegate extends System.MulticastDelegate" /><AssemblyInfo><AssemblyName>mscorlib</AssemblyName><AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00]</AssemblyPublicKey><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the &lt;link location="node:gtk-sharp/programming/threads"&gt;Gtk# Thread Programming&lt;/link&gt; for details.</ThreadSafetyStatement><Base><BaseTypeName>System.Delegate</BaseTypeName></Base><Attributes><Attribute><AttributeName>System.Runtime.InteropServices.ComVisible(true)</AttributeName></Attribute></Attributes><Parameters><Parameter Name="aggregator" Type="System.IntPtr" /></Parameters><ReturnValue><ReturnType>System.IntPtr</ReturnType></ReturnValue><Docs><param name="aggregator">To be added.</param><returns>To be added.</returns><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This delegate is called to create a COM object as an alternative to CoCreateInstance when a managed object needs to create a new instance of its unmanaged portion. The IUnknown interface of the managed object is passed as a parameter and the delegate should return the IUnknown interface of the unmanaged object. Both interfaces are passed as type <see cref="T:System.IntPtr" /> to avoid marshaling.</para><para>Every derived class of <see cref="T:System.Delegate" /> and <see cref="T:System.MulticastDelegate" /> has a constructor and an Invoke method.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Creates a COM object.</para></summary></Docs><Members /></Type>