MarshalAsAttribute.ArraySubType Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the element type of the unmanaged LPArray or ByValArray.
public: System::Runtime::InteropServices::UnmanagedType ArraySubType;
public System.Runtime.InteropServices.UnmanagedType ArraySubType;
val mutable ArraySubType : System.Runtime.InteropServices.UnmanagedType
Public ArraySubType As UnmanagedType
Field Value
Remarks
You can set this parameter to a value from the System.Runtime.InteropServices.UnmanagedType enumeration to specify the type of the array's elements. If a type is not specified, the default unmanaged type corresponding to the managed array's element type is used. For example, the ArraySubType
for a LPWStr
array in COM is UnmanagedType.LPWStr. For additional information, see Default Marshaling for Arrays.
Applies to
See also
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για