TypeInfrastructureManager.AdapterResolve Event
This API supports the Visual Studio Tools for Applications infrastructure and is not intended to be used directly from your code.
Occurs when a local object that has a non-intrinsic type is passed to or returned by a member of a proxy.
Namespace: Microsoft.VisualStudio.Tools.Applications
Assembly: Microsoft.VisualStudio.Tools.Applications.Adapter.v9.0 (in Microsoft.VisualStudio.Tools.Applications.Adapter.v9.0.dll)
Syntax
'Declaration
Public Event AdapterResolve As EventHandler(Of AdapterResolveEventArgs)
'Usage
Dim instance As TypeInfrastructureManager
Dim handler As EventHandler(Of AdapterResolveEventArgs)
AddHandler instance.AdapterResolve, handler
public event EventHandler<AdapterResolveEventArgs> AdapterResolve
public:
event EventHandler<AdapterResolveEventArgs^>^ AdapterResolve {
void add (EventHandler<AdapterResolveEventArgs^>^ value);
void remove (EventHandler<AdapterResolveEventArgs^>^ value);
}
JScript does not support events.
Remarks
You can hook up to the AdapterResolve event to return a custom adapter for an object.
See Also
Reference
TypeInfrastructureManager Class