MarshalAsAttribute.Value 속성

정의

데이터를 마샬링할 UnmanagedType 값을 가져옵니다.

public:
 property System::Runtime::InteropServices::UnmanagedType Value { System::Runtime::InteropServices::UnmanagedType get(); };
public System.Runtime.InteropServices.UnmanagedType Value { get; }
member this.Value : System.Runtime.InteropServices.UnmanagedType
Public ReadOnly Property Value As UnmanagedType

속성 값

UnmanagedType

데이터를 마샬링할 UnmanagedType 값입니다.

설명

이 값은 관리 코드와 MarshalAsAttribute 관리되지 않는 코드 간에 형식을 마샬링하는 방법을 나타내는 데 사용됩니다. 경우에 따라 이 필드를 특정 UnmanagedType 열거형 멤버와 함께 사용할 수 있습니다. ByValArrayCustomMarshaler , 명명된 매개 변수를 추가로 사용해야 합니다.

적용 대상