Robuta

https://learn.microsoft.com/zh-cn/dotnet/api/system.runtime.interopservices.marshal.getidispatchforobject?view=netframework-4.8.1&viewFallbackFrom=net-5.0 Marshal.GetIDispatchForObject(Object) Method (System.Runtime.InteropServices) | Microsoft Learn Returns an IDispatch interface from a managed object. marshalobjectmethodsystemruntime