MarshalAsAttribute.SafeArraySubType Campo

Definizione

Indica il tipo di elemento di SafeArray .

public: System::Runtime::InteropServices::VarEnum SafeArraySubType;
public System.Runtime.InteropServices.VarEnum SafeArraySubType;
val mutable SafeArraySubType : System.Runtime.InteropServices.VarEnum
Public SafeArraySubType As VarEnum 

Valore del campo

Commenti

È possibile impostare questo campo su un valore dell'enumerazione System.Runtime.InteropServices.VarEnum per specificare il tipo degli elementi della matrice sicura. Se non viene specificato un tipo, viene utilizzato il tipo predefinito del tipo di elemento gestito (se passato come VARIANT). Ad esempio, per SafeArraySubType una int matrice in COM è VT_I4. Per altre informazioni, vedere Marshalling predefinito per le matrici.

Si applica a

Vedi anche