2
A
回答
5
param
是屬性目標。引自MSDN:
可能的目標值列表如下表所示。
C# Visual Basic Applies to
assembly Assembly Entire assembly module Module Current assembly module (which is different from a Visual Basic Module) field Not supported Field in a class or a struct event Not supported Event method Not supported Method or get and set property accessors param Not supported Method parameters or set property accessor parameters property Not supported Property return Not supported Return value of a method, property indexer, or get property accessor type Not supported Struct, class, interface, enum, or delegate
在您的例子中,屬性可能是用於屬性setter並分配屬性(隱含的)value
參數。
0
這與使用MarshalAs屬性的編組過程有關,其中UnmanagedType.LPTStr表示它是編組爲unicode字符。 ''param'被用作屬性標籤。正如Heinzi所提到的那樣,在C#中上面提到的目標值是允許的,在這裏它被用於一個屬性值參數。
相關問題
- 1. c中strtol中參數'base'的意義是什麼?
- 2. 在C中,「void(* parse_arg_function)(const char *)」函數參數是什麼意思?
- 3. C++函數參考預定義參數
- 4. 參數作爲在C爲參數的同義詞,以及C++
- 5. 智能意義中的參數顯示
- 6. 在C中的參數列表中是什麼意思?
- 7. &C++函數參數列表中的&是什麼意思?
- 8. C++:以任意數量參數作爲參數傳遞函數
- 9. &&在C++中的參數類型是什麼意思?
- 10. C函數(不帶參數)與參數
- 11. 在PHP中,在函數中設置參數的意義是什麼?
- 12. scipy.stats.zipf中的參數是什麼意思?
- 13. LAPACKE_dgesvd(..)中的參數是什麼意思?
- 14. SAEF中的參數是什麼意思?
- 15. murmurhash3中的參數是什麼意思?
- 16. 參數1號是不是OUT參數
- 17. @參數1不是過程的參數
- 18. 意圖參數
- 19. RegisterClientScriptBlock方法調用中的Type參數的意義是什麼?
- 20. 在R中的含義:參數不是數字
- 21. WL.Client.createChallengeHandler的參數有什麼意義?
- 22. C/C++中的單個參數(函數)中的多個參數
- 23. DroneDeploy Tiles API中zoom參數的意義是什麼?
- 24. 是否像C++中的C#參數?
- 25. 參數在c#
- 26. C++功能是通過與任意數量的參數
- 27. SystemParametersInfo參數定義C#
- 28. C#中的參數
- 29. {和}在參數內是什麼意思?
- 30. 可能是C++中使用的任意模板參數?
請發佈一些額外的行與param關聯:聲明,我從來沒有見過這樣的事情。 – ViRuSTriNiTy