The MarshalAsAttribute attribute sets the UnmanagedType enumeration value to ByValTStr, which is used to identify the inline, fixed-length character array that appears within the unmanaged structure.

 
  • MarshalAsAttribute属性将UnmanagedType枚举值设置为ByValTStr,它用于标识在非托管结构内出现的内联的定长字符数组。
今日热词
目录 附录 查词历史