public static ComEventsInfo?Find(object rcw) { return((ComEventsInfo?)Marshal.GetComObjectData(rcw, typeof(ComEventsInfo))); }
internal static ComEventsInfo Find(object rcw) { return((ComEventsInfo)Marshal.GetComObjectData(rcw, typeof(ComEventsInfo))); }
public static void GetComObjectData() { Assert.Throws <PlatformNotSupportedException>(() => Marshal.GetComObjectData(null, null)); }