Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

ICustomAdapter Interface

Note: This API is now obsolete.

Provides a way for clients to access the actual object, rather than the adapter object handed out by a custom marshaler.

Namespace:  System.Runtime.InteropServices
Assemblies:   System.Runtime.InteropServices (in System.Runtime.InteropServices.dll)
  mscorlib (in mscorlib.dll)

[ObsoleteAttribute("ICustomAdapter may be unavailable in future releases.")]
public interface ICustomAdapter

The ICustomAdapter type exposes the following members.

  NameDescription
Public methodSupported by Portable Class LibraryGetUnderlyingObjectProvides access to the underlying object wrapped by a custom marshaler.
Top

The objects that the built-in custom marshalers hand out to clients implement this interface.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
Obsolete (compiler warning) in 4.6

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

.NET for Windows Phone apps

Obsolete (compiler warning) in Windows Phone 8.1

Portable Class Library

Supported in: Portable Class Library
Show:
© 2015 Microsoft