不同于参考型别,您无法从实值型别衍生新型别。
Unlike with reference types, you cannot derive a new type from a value type.
若要避免这个错误,请使用类别型别条件约束或参考型别条件约束。
To avoid this error, use a class type constraint or a reference type constraint.
将实值型别参考推入至堆叠。
型别参考包含型别语汇基元和物件执行个体的位址。
A typed reference contains a type token and an address to an object instance.
在专案中加入COM元件或型别程序库的参考。
Add to the project a reference to the com component or type library.
在专案中加入COM元件或型别程序库的参考。
Add to the project a reference to the com component or type library.
应用推荐