BStrStringMarshaller Classe

Définition

Important

Cette API n’est pas conforme CLS.

Marshaller pour les chaînes BSTR.

public ref class BStrStringMarshaller abstract sealed
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.Marshalling.CustomMarshaller(typeof(System.String), System.Runtime.InteropServices.Marshalling.MarshalMode.Default, typeof(System.Runtime.InteropServices.Marshalling.BStrStringMarshaller))]
[System.Runtime.InteropServices.Marshalling.CustomMarshaller(typeof(System.String), System.Runtime.InteropServices.Marshalling.MarshalMode.ManagedToUnmanagedIn, typeof(System.Runtime.InteropServices.Marshalling.BStrStringMarshaller+ManagedToUnmanagedIn))]
public static class BStrStringMarshaller
[<System.CLSCompliant(false)>]
[<System.Runtime.InteropServices.Marshalling.CustomMarshaller(typeof(System.String), System.Runtime.InteropServices.Marshalling.MarshalMode.Default, typeof(System.Runtime.InteropServices.Marshalling.BStrStringMarshaller))>]
[<System.Runtime.InteropServices.Marshalling.CustomMarshaller(typeof(System.String), System.Runtime.InteropServices.Marshalling.MarshalMode.ManagedToUnmanagedIn, typeof(System.Runtime.InteropServices.Marshalling.BStrStringMarshaller+ManagedToUnmanagedIn))>]
type BStrStringMarshaller = class
Public Class BStrStringMarshaller
Héritage
BStrStringMarshaller
Attributs

Méthodes

ConvertToManaged(UInt16*)

Convertit une chaîne non managée en version managée.

ConvertToUnmanaged(String)

Convertit une chaîne en version non managée.

Free(UInt16*)

Libère la mémoire pour la chaîne non managée.

S’applique à