/// <summary> /// Creates a new instance of the <see cref="SafeArrayMarshalDescriptor"/> class. /// </summary> /// <param name="variantType">The element type of the safe array.</param> /// <param name="flags">The flags associated to the element type of the safe array.</param> public SafeArrayMarshalDescriptor(SafeArrayVariantType variantType, SafeArrayTypeFlags flags) { VariantType = variantType; VariantTypeFlags = flags; }
/// <summary> /// Creates a new instance of the <see cref="SafeArrayMarshalDescriptor"/> class. /// </summary> /// <param name="variantType">The element type of the safe array.</param> /// <param name="flags">The flags associated to the element type of the safe array.</param> /// <param name="subType">The user defined array element type.</param> public SafeArrayMarshalDescriptor(SafeArrayVariantType variantType, SafeArrayTypeFlags flags, TypeSignature subType) { VariantType = variantType; VariantTypeFlags = flags; UserDefinedSubType = subType; }
/// <summary> /// Creates a new instance of the <see cref="SafeArrayMarshalDescriptor"/> class. /// </summary> /// <param name="variantType">The element type of the safe array.</param> public SafeArrayMarshalDescriptor(SafeArrayVariantType variantType) { VariantType = variantType; }