BStrStringMarshaller Klasa

Definicja

Ważne

Ten interfejs API nie jest zgodny ze specyfikacją CLS.

Marshaller dla ciągów 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
Dziedziczenie
BStrStringMarshaller
Atrybuty

Metody

ConvertToManaged(UInt16*)

Konwertuje niezarządzany ciąg na wersję zarządzaną.

ConvertToUnmanaged(String)

Konwertuje ciąg na wersję niezarządzaną.

Free(UInt16*)

Zwalnia pamięć dla niezarządzanych ciągów.

Dotyczy