marshal_context 클래스
This class converts data between native and managed environments.
class marshal_context
설명
Use the marshal_context class for data conversions that require a context. See C++ 마샬링 개요 for more information about which conversions require a context and which marshaling file has to be included. The result of marshaling when you use a context is valid only until the marshal_context object is destroyed. To preserve your result, you must copy the data.
The same marshal_context can be used for multiple data conversions. Reusing the context in this manner will not affect the results from previous marshaling calls.
요구 사항
헤더 파일:<msclr\marshal.h>, <msclr\marshal_windows.h>, <msclr\marshal_cppstd.h>, 또는 <msclr\marshal_atl.h >
네임 스페이스: msclr::interop