Name

UnknownWrapper

Synopsis

Use this wrapper to pass a managed object into unmanaged code as type VT_UNKNOWN.

Public NotInheritable Class UnknownWrapper
                  ' Public Constructors
   Public Sub New( ByVal obj As Object) 
' Public Instance Properties
   Public ReadOnly Property WrappedObject As Object  
End Class

Get VB.NET Core Classes in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.