AnsiStringMarshaller 结构
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重要
此 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
- 继承
- 属性
-
CLSCompliantAttribute System.Runtime.InteropServices.Marshalling.CustomTypeMarshallerAttribute