![]()
true if the data was set successfully; otherwise, false.
All COM objects wrapped in a Runtime Callable Wrapper (RCW) have an associated hash table, to which Marshal.SetComObjectData(object, object, object) adds data. Marshal.GetComObjectData(object, object) retrieves data from the hash table. You should never have to call either method from your code.