AnsiStringMarshaller Třída

Definice

Důležité

Toto rozhraní API neodpovídá specifikaci CLS.

Marshaller pro řetězce 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
Dědičnost
AnsiStringMarshaller
Atributy

Metody

ConvertToManaged(Byte*)

Převede nespravovaný řetězec na spravovanou verzi.

ConvertToUnmanaged(String)

Převede řetězec na nespravovanou verzi.

Free(Byte*)

Uvolní paměť pro nespravovaný řetězec.

Platí pro