How do you apply a .net attribute to a return type(如何将 .net 属性应用于返回类型)
问题描述
如何将 MarshalAsAttribute 应用于下面代码的返回类型?
How do I apply the MarshalAsAttribute to the return type of the code below?
推荐答案
根据http://msdn.microsoft.com/en-us/library/system.runtime.interopservices.marshalasattribute.aspx:
这篇关于如何将 .net 属性应用于返回类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!