BStrStringMarshaller 클래스

정의

중요

이 API는 CLS 규격이 아닙니다.

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
상속
BStrStringMarshaller
특성

메서드

ConvertToManaged(UInt16*)

관리되지 않는 문자열을 관리되는 버전으로 변환합니다.

ConvertToUnmanaged(String)

문자열을 관리되지 않는 버전으로 변환합니다.

Free(UInt16*)

관리되지 않는 문자열의 메모리를 해제합니다.

적용 대상