ReturnValueNameAttribute(String) 构造函数

定义

初始化 ReturnValueNameAttribute 类的新实例,并指定返回值的名称。Initializes a new instance of the ReturnValueNameAttribute class, and specifies the name of the return value.

public:
 ReturnValueNameAttribute(System::String ^ name);
public ReturnValueNameAttribute (string name);
new System.Runtime.InteropServices.WindowsRuntime.ReturnValueNameAttribute : string -> System.Runtime.InteropServices.WindowsRuntime.ReturnValueNameAttribute
Public Sub New (name As String)

参数

name
String

返回值的名称。The name of the return value.

适用于