AnsiStringMarshaller 结构

定义

重要

此 API 不符合 CLS。

ANSI 字符串的封送器。

public value class AnsiStringMarshaller
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.Marshalling.CustomTypeMarshaller(typeof(System.String), System.Runtime.InteropServices.Marshalling.CustomTypeMarshallerKind.Value, BufferSize=256, Features=System.Runtime.InteropServices.Marshalling.CustomTypeMarshallerFeatures.CallerAllocatedBuffer | System.Runtime.InteropServices.Marshalling.CustomTypeMarshallerFeatures.TwoStageMarshalling | System.Runtime.InteropServices.Marshalling.CustomTypeMarshallerFeatures.UnmanagedResources)]
public ref struct AnsiStringMarshaller
[<System.CLSCompliant(false)>]
[<System.Runtime.InteropServices.Marshalling.CustomTypeMarshaller(typeof(System.String), System.Runtime.InteropServices.Marshalling.CustomTypeMarshallerKind.Value, BufferSize=256, Features=System.Runtime.InteropServices.Marshalling.CustomTypeMarshallerFeatures.CallerAllocatedBuffer | System.Runtime.InteropServices.Marshalling.CustomTypeMarshallerFeatures.TwoStageMarshalling | System.Runtime.InteropServices.Marshalling.CustomTypeMarshallerFeatures.UnmanagedResources)>]
type AnsiStringMarshaller = struct
Public Structure AnsiStringMarshaller
继承
AnsiStringMarshaller
属性
CLSCompliantAttribute System.Runtime.InteropServices.Marshalling.CustomTypeMarshallerAttribute

适用于