AnsiStringMarshaller Klasa

Definicja

Ważne

Ten interfejs API nie jest zgodny ze specyfikacją CLS.

Marshaller dla ciągów ANSI.

public ref class AnsiStringMarshaller abstract sealed
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.Marshalling.CustomMarshaller(typeof(System.String), System.Runtime.InteropServices.Marshalling.MarshalMode.Default, typeof(System.Runtime.InteropServices.Marshalling.AnsiStringMarshaller))]
[System.Runtime.InteropServices.Marshalling.CustomMarshaller(typeof(System.String), System.Runtime.InteropServices.Marshalling.MarshalMode.ManagedToUnmanagedIn, typeof(System.Runtime.InteropServices.Marshalling.AnsiStringMarshaller+ManagedToUnmanagedIn))]
public static class AnsiStringMarshaller
[<System.CLSCompliant(false)>]
[<System.Runtime.InteropServices.Marshalling.CustomMarshaller(typeof(System.String), System.Runtime.InteropServices.Marshalling.MarshalMode.Default, typeof(System.Runtime.InteropServices.Marshalling.AnsiStringMarshaller))>]
[<System.Runtime.InteropServices.Marshalling.CustomMarshaller(typeof(System.String), System.Runtime.InteropServices.Marshalling.MarshalMode.ManagedToUnmanagedIn, typeof(System.Runtime.InteropServices.Marshalling.AnsiStringMarshaller+ManagedToUnmanagedIn))>]
type AnsiStringMarshaller = class
Public Class AnsiStringMarshaller
Dziedziczenie
AnsiStringMarshaller
Atrybuty

Metody

ConvertToManaged(Byte*)

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

ConvertToUnmanaged(String)

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

Free(Byte*)

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

Dotyczy