MarshalAsAttribute.SafeArrayUserDefinedSubType Champ
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Indique le type d’élément défini par l’utilisateur du SafeArray.
public: Type ^ SafeArrayUserDefinedSubType;
public Type SafeArrayUserDefinedSubType;
val mutable SafeArrayUserDefinedSubType : Type
Public SafeArrayUserDefinedSubType As Type
Valeur de champ
Remarques
Initialisez ce champ avec votre type personnalisé pour permettre aux éléments du SAFEARRAY marshalé avec succès. Ce champ n’est nécessaire que lorsque le MarshalAsAttribute.SafeArraySubType champ est soit VarEnum.VT_UNKNOWN, VarEnum.VT_DISPATCHsoit VarEnum.VT_RECORD. Pour plus d’informations, consultez Marshaling par défaut pour les tableaux.