Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ GetObjectsForNativeVariants< T >()

static T[] System.Runtime.InteropServices.Marshal.GetObjectsForNativeVariants< T > ( IntPtr aSrcNativeVariant,
int cVars )
inlinestatic

Definition at line 569 of file Marshal.cs.

570 {
572 {
573 throw new NotSupportedException(SR.NotSupported_COM);
574 }
575 object[] objectsForNativeVariants = GetObjectsForNativeVariants(aSrcNativeVariant, cVars);
576 T[] array = new T[objectsForNativeVariants.Length];
577 Array.Copy(objectsForNativeVariants, array, objectsForNativeVariants.Length);
578 return array;
579 }
static ? object[] GetObjectsForNativeVariants(IntPtr aSrcNativeVariant, int cVars)
Definition Marshal.cs:556

References System.array, System.Array.Copy(), System.Runtime.InteropServices.Marshal.GetObjectsForNativeVariants(), System.Runtime.InteropServices.Marshal.IsBuiltInComSupported, and System.SR.NotSupported_COM.